|
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 |
java.lang.Object
oracle.irm.engine.content.crypto.CryptoSchemaOperationsInstance
public final class CryptoSchemaOperationsInstance
Operations for obtaining cryptography schemas.
This class provides static methods for a set of procedural style methods. The methods can be made to appear as global methods by using import static. e.g.
import static oracle.irm.engine.content.crypto.CryptoSchemaOperationsInstance.*;
Method Summary | |
---|---|
static CryptoSchema |
getCryptoSchema(String id) Get a cryptography schema from the schema identity. |
static Collection<CryptoSchema> |
getCryptoSchemas() List the available cryptography schemas in the system. |
static CryptoSchema |
getDefaultCryptoSchema() Get the default cryptography schema. |
static void |
validateCryptoSchema(CryptoSchema schema) Test the validity of a cryptography schema. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Collection<CryptoSchema> getCryptoSchemas()
public static 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.public static CryptoSchema getCryptoSchema(String id) throws UnknownCryptoSchemaException
id
- the schema identity.UnknownCryptoSchemaException
- if the cryptography schema with the supplied id is not known.public static 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 |