|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CryptoSchemaOperations
Operations for obtaining cryptography schemas.
The methods on CryptoSchemaOperations can be invoked using CryptoSchemaOperationsInstance
.
Method Summary | |
---|---|
CryptoSchema |
getCryptoSchema(String id) Get a cryptography schema from the schema identity. |
Collection<CryptoSchema> |
getCryptoSchemas() List the available cryptography schemas in the system. |
CryptoSchema |
getDefaultCryptoSchema() Get the default cryptography schema. |
void |
validateCryptoSchema(CryptoSchema schema) Test the validity of a cryptography schema. |
Method Detail |
---|
Collection<CryptoSchema> getCryptoSchemas()
CryptoSchema getDefaultCryptoSchema()
KeySet
is are created a cryptography schema must be specified. The cryptography schema determines the key generation algorithms and key sizes required to generate the set of keys need to create and open sealed content. This operation provides the system configured default schema.CryptoSchema getCryptoSchema(String id) throws UnknownCryptoSchemaException
id
- the schema identity.UnknownCryptoSchemaException
- if the cryptography schema with the supplied id is not known.void validateCryptoSchema(CryptoSchema schema) throws UnsupportedCryptoSchemaException
schema
- the cryptography schema.UnsupportedCryptoSchemaException
- this exception is thrown if the cryptography schema is unsupported. The cause of the exception can be examined to determine what part of the cryptography schema could not be supported (algorithm, key size, etc).
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |