Package | Description |
---|---|
oracle.okv.kmip |
This package contains enum class for KMIP tags, tag enumerations, and types.
|
oracle.okv.operation |
This package contains classes representing all the supported KMIP operations.
|
oracle.okv.response |
This package contains all the response classes whose objects are the return
values of various high-level Oracle Key Vault Java SDK APIs.
|
oracle.okv.service |
This package contains the OKVService class through which all the high level
Java SDK APIs are exposed.
|
Modifier and Type | Method and Description |
---|---|
static OKVTTLV |
OKVTTLV.createBatchItemStructForOperation(OKVTagEnum operation,
byte[] batchItem)
Create KMIP TTLV with tags batch item, operation and
unique batch item id.
|
static OKVTTLV |
OKVTTLV.createBatchResultTTLV(OKVTag tag,
java.lang.Object obj)
Create a batch result TTLV with given tag and value.
|
static OKVTTLV |
OKVTTLV.createTTLV(OKVTag tag,
java.lang.Object obj)
Create a TTLV with the given tag and value.
|
static OKVTTLV |
OKVTTLV.createTTLV(OKVTag tag,
java.lang.Object obj,
int length)
Create a TTLV with given tag, value and length.
|
static OKVTTLV |
OKVTTLV.createTTLV(OKVTag tag,
OKVType typ,
java.lang.Object obj)
Create TTLV with given tag, type and value.
|
static OKVTTLV |
OKVTTLV.createTTLV(OKVTag tag,
OKVType typ,
java.lang.Object obj,
int length)
Create a TTLV of given tag, type, length and value.
|
static OKVTTLV |
OKVTTLV.createTTLVinStruct(OKVTag tag,
java.lang.Object obj,
int length,
OKVTTLV parent)
Create a child TTLV with given tag, length and value under the
given parent.
|
static OKVTTLV |
OKVTTLV.createTTLVinStruct(OKVTag tag,
java.lang.Object obj,
OKVTTLV parent)
Create a TTLV with given tag and value under the given parent TTLV.
|
static OKVTTLV |
OKVTTLV.createTTLVinStruct(OKVTag tag,
OKVType typ,
java.lang.Object obj,
int length,
OKVTTLV parent)
Create a child TTLV with the given tag, type, value and length.
|
static OKVTTLV |
OKVTTLV.createTTLVinStruct(OKVTag tag,
OKVType typ,
java.lang.Object obj,
OKVTTLV parent)
Create a child TTLV with given tag, type and value under the
given parent TTLV.
|
static OKVTTLV |
OKVTTLV.createTTLVMessage()
Create the TTLV Request Message with request message, request header,
protocol version, protocol version major, protocol version minor,
maximum response size and batch count.
|
static OKVTTLV |
OKVTTLV.createTTLVStruct(OKVTag tag)
Create a TTLV with given tag.
|
static OKVTTLV |
OKVTTLV.createTTLVStructinStruct(OKVTag tag,
OKVTTLV parent)
Create a TTLV given the tag under the given parent TTLV.
|
OKVTTLV |
OKVTTLV.getParent()
Get the parent TTLV.
|
OKVTTLV |
OKVTTLV.getTTLVinTTLV(OKVTag tag)
Get the TTLV of given KMIP tag in the current TTLV.
|
OKVTTLV |
OKVTTLV.okvAddAttributeObject(OKVTag attr,
int attrIndex)
API to add a child attribute object to current TTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddActivationDate(java.util.Date date)
API to add an activation date attribute to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddArchiveDate(java.util.Date date)
API to add an archive date attribute to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddCertLen(int certLength)
API to add a certificate length attribute to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddCertType(OKVTagEnum certType)
API to add a certificate type attribute to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddCompromiseDate(java.util.Date date)
API to add a compromise date attribute to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddCompromiseOccurrenceDate(java.util.Date date)
API to add a compromise occurrence date attribute to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddContactInfo(java.lang.String contact)
API to add a contact information attribute to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddCryptoAlgo(OKVTagEnum cryptoAlg)
API to add a cryptographic algorithm attribute
to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddCryptoDomainParams(java.lang.Integer qLength,
OKVTagEnum recommendedCurve)
API to add cryptographic domain parameters attribute to an
OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddCryptoLen(int length)
API to add a cryptographic length attribute to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddCryptoParams(OKVTagEnum blockCipherMode,
OKVTagEnum paddingMethod,
OKVTagEnum hashingAlgo,
OKVTagEnum keyRoleType)
API to add a cryptographic parameter attribute to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddCryptoUsageMask(int cryptoUsageMask)
API to add a cryptographic usage mask attribute to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddDeactivationDate(java.util.Date date)
API to add a de-activation date attribute to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddDestroyDate(java.util.Date date)
API to add a destroy date attribute to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddDigest(OKVTagEnum hashAlg,
OKVTagEnum keyFormatType,
byte[] digest)
API to add digest attribute parameters to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddDigitalSignAlgo(OKVTagEnum digitalSignAlg)
API to add a digital signature algorithm attribute to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddExtractable(boolean extractable)
API to add an extractable attribute to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddFresh(boolean fresh)
API to add a fresh attribute to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddInitialDate(java.util.Date date)
API to add an initial date attribute to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddLastChangeDate(java.util.Date date)
API to add a last change date attribute to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddLeaseTime(int leaseTime)
API to add a lease time attribute to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddLink(OKVTagEnum type,
java.lang.String objId)
API to add a link attribute to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddName(java.lang.String name,
OKVTagEnum nameType)
API to add a name attribute to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddNeverExtractable(boolean neverExtractable)
API to add a never extractable attribute to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddObjectGroup(java.lang.String objectGroup)
API to add an object group attribute to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddObjectType(OKVTagEnum objType)
API to add an object type attribute to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddProcessStartDate(java.util.Date date)
API to add a process start date attribute to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddProtectStopDate(java.util.Date date)
API to add a protect stop date attribute to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddRevocationReason(OKVTagEnum code,
java.lang.String msg)
API to add revocation reason attribute parameters to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddState(OKVTagEnum state)
API to add a state attribute to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddUniqueId(java.lang.String uid)
API to add a unique identifier attribute to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddUsageLimits(long total,
long count,
OKVTagEnum unit)
API to add usage limit attribute parameters to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddX509CertId(byte[] issuer,
byte[] serialNo)
API to add an issuer and serial number which forms the
X.509 Certificate Identifier attribute to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddX509CertIss(byte[] dn)
API to add an X.509 Certificate Issuer distinguished name attribute
to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddX509CertIssAltName(byte[] altName)
API to add an X.509 Certificate Issuer Alternate name
to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddX509CertSubj(byte[] dn)
API to add an X.509 Certificate Subject distinguished name attribute
to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvAttrAddX509CertSubjAltName(byte[] altName)
API to add an X.509 Certificate Subject Alternate name attribute
to an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvCustomAttrAddBigInteger(java.lang.String name,
int attrIndex,
java.math.BigInteger value)
API to add a big integer data type with an attribute index to the
custom attribute of the OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvCustomAttrAddBoolean(java.lang.String name,
int attrIndex,
java.lang.Boolean value)
API to add a boolean data type with an attribute index to
the custom attribute of the OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvCustomAttrAddByteString(java.lang.String name,
int attrIndex,
byte[] value)
API to add a byte string data type with an attribute index
to the custom attribute of an OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvCustomAttrAddDateTime(java.lang.String name,
int attrIndex,
java.util.Date value)
API to add a date time data type with an attribute index
to the custom attribute of the OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvCustomAttrAddEnum(java.lang.String name,
int attrIndex,
int value)
API to add an enumeration data type with an attribute index to
the custom attribute of the OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvCustomAttrAddInteger(java.lang.String name,
int attrIndex,
java.lang.Integer value)
API to add an integer data type with an attribute index
to the custom attribute of the OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvCustomAttrAddInterval(java.lang.String name,
int attrIndex,
int value)
API to add an interval data type with an attribute index to
the custom attribute of the OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvCustomAttrAddLongInteger(java.lang.String name,
int attrIndex,
java.lang.Long value)
API to add a long integer data type with an attribute index
to the custom attribute of the OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvCustomAttrAddStructure(java.lang.String name,
int attrIndex,
OKVTTLV value)
API to add a structure data type with an attribute index
to the custom attribute of the OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvCustomAttrAddTextString(java.lang.String name,
int attrIndex,
java.lang.String value)
API to add a text string data type with an attribute index
to the custom attribute of the OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvCustomAttrGetStructure()
API to get the TTLV structure from the custom
attribute of an OKVTTLV object.
|
static OKVTTLV |
OKVTTLV.okvEnvGetOpRequestObj()
API to create a valid OKVTTLV object.
|
OKVTTLV |
OKVTTLV.okvTTLVGetChild(int elemIndex)
API to get the child TTLV at the given index.
|
OKVTTLV |
OKVTTLV.okvTTLVGetChildByTag(OKVTag tag,
int elemIndex)
API to get the child TTLV of a given tag at index elemIndex or higher.
|
OKVTTLV |
OKVTTLV.okvTTLVGetFirstChildByTag(OKVTag childTag)
API to get the first child OKVTTLV object with the tag
passed as input.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<OKVTTLV> |
OKVTTLV.getChildren()
Get the list of child TTLV of the current TTLV.
|
Modifier and Type | Method and Description |
---|---|
void |
OKVTTLV.addBatchITemToTTLVMessage(OKVTTLV batch_item)
Add the batch item to TTLV.
|
void |
OKVTTLV.addChild(OKVTTLV inOKVTTLV)
Add a child TTLV.
|
void |
OKVTTLV.addToBatchItem(OKVTTLV ttlv_elem)
Add the given TTLV element to batch item.
|
void |
OKVTTLV.addToTTLVStruct(OKVTTLV ttlv_elem)
Add the given TTLV element to the current TTLV as parent.
|
static OKVTTLV |
OKVTTLV.createTTLVinStruct(OKVTag tag,
java.lang.Object obj,
int length,
OKVTTLV parent)
Create a child TTLV with given tag, length and value under the
given parent.
|
static OKVTTLV |
OKVTTLV.createTTLVinStruct(OKVTag tag,
java.lang.Object obj,
OKVTTLV parent)
Create a TTLV with given tag and value under the given parent TTLV.
|
static OKVTTLV |
OKVTTLV.createTTLVinStruct(OKVTag tag,
OKVType typ,
java.lang.Object obj,
int length,
OKVTTLV parent)
Create a child TTLV with the given tag, type, value and length.
|
static OKVTTLV |
OKVTTLV.createTTLVinStruct(OKVTag tag,
OKVType typ,
java.lang.Object obj,
OKVTTLV parent)
Create a child TTLV with given tag, type and value under the
given parent TTLV.
|
static OKVTTLV |
OKVTTLV.createTTLVStructinStruct(OKVTag tag,
OKVTTLV parent)
Create a TTLV given the tag under the given parent TTLV.
|
static java.lang.String |
OKVTagEnum.getAttrNameFromTagEnumTTLV(int tag,
int Enum,
OKVTTLV ttlv)
Get the OKVTagEnum name value of given tag and enum value.
|
OKVTTLV |
OKVTTLV.okvCustomAttrAddStructure(java.lang.String name,
int attrIndex,
OKVTTLV value)
API to add a structure data type with an attribute index
to the custom attribute of the OKVTTLV object.
|
void |
OKVTTLV.setParent(OKVTTLV parent)
Set the parent TTLV.
|
Modifier and Type | Method and Description |
---|---|
void |
OKVTTLV.addBatchItemListToTTLVMessage(java.util.List<OKVTTLV> batchItemList)
Add the list of batch items to TTLV.
|
Constructor and Description |
---|
OKVTTLV(OKVTag tag,
OKVType typ,
int length,
java.lang.Object value,
OKVTTLV parent) |
Modifier and Type | Method and Description |
---|---|
java.util.List<OKVTTLV> |
OKVBatchOperation.composeRequest() |
java.util.List<OKVTTLV> |
OKVBatchOperation.composeRequest(oracle.okv.service.OKVEnv env) |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
OKVBatchOperation.okvAddAttribute(java.lang.String uid,
OKVTTLV attr)
Implements the KMIP add attribute operation.
|
java.lang.Integer |
OKVBatchOperation.okvCreateKey(OKVTagEnum algorithm,
int keyLength,
int usageMask,
OKVTTLV attributeList,
java.lang.String walletName)
Implements the KMIP Create operation for the KMIP symmetric key object.
|
java.lang.Integer |
OKVBatchOperation.okvLocate(java.lang.Integer maxItems,
java.lang.Integer storageStatusMask,
OKVTagEnum objectGroupMember,
OKVTTLV attributeList)
Implements the KMIP locate operation.
|
java.lang.Integer |
OKVBatchOperation.okvModifyAttribute(java.lang.String uid,
OKVTTLV attr)
Implements the KMIP modify attribute operation.
|
java.lang.Integer |
OKVBatchOperation.okvRegCertificate(OKVTagEnum certificateType,
OKVTag certificateSubType,
byte[] certificateValue,
int usageMask,
OKVTTLV attributeList,
java.lang.String privateKeyUID,
java.lang.String walletName)
Implements the KMIP Register operation for the KMIP certificate object.
|
java.lang.Integer |
OKVBatchOperation.okvRegCertificateRequest(OKVTagEnum certificateRequestType,
byte[] certificateRequestValue,
OKVTTLV attributeList,
java.lang.String privateKeyUID,
java.lang.String walletName)
Implements the KMIP Register operation for the certificate request object.
|
java.lang.Integer |
OKVBatchOperation.okvRegKey(byte[] keyValue,
OKVTagEnum algorithm,
int keyLength,
int usageMask,
OKVTTLV attributeList,
java.lang.String walletName)
Implements the KMIP Register operation for the KMIP symmetric key object.
|
java.lang.Integer |
OKVBatchOperation.okvRegOpaqueData(OKVTagEnum opaqueType,
byte[] opaqueValue,
OKVTTLV attributeList,
java.lang.String walletName)
Implements the KMIP Register operation for the KMIP opaque data object.
|
java.lang.Integer |
OKVBatchOperation.okvRegPrivateKey(byte[] privateKeyValue,
OKVTagEnum algorithm,
int privateKeyLength,
int usageMask,
OKVTTLV attributeList,
java.lang.String walletName)
Implements the KMIP Register operation for the KMIP private key object.
|
java.lang.Integer |
OKVBatchOperation.okvRegPublicKey(byte[] publicKeyValue,
OKVTagEnum algorithm,
int publicKeyLength,
int usageMask,
OKVTTLV attributeList,
java.lang.String privateKeyUID,
java.lang.String walletName)
Implements the KMIP Register operation for the KMIP public key object.
|
java.lang.Integer |
OKVBatchOperation.okvRegSecretData(OKVTagEnum secretDataType,
byte[] secretDataValue,
int usageMask,
OKVTTLV attributeList,
java.lang.String walletName)
Implements the KMIP Register operation for the KMIP secret data object.
|
java.lang.Integer |
OKVBatchOperation.okvRegTemplate(OKVTTLV attributeList,
java.lang.String walletName)
Implements the KMIP Register operation for the KMIP template object (not
to be confused with KMIP template-attribute object).
|
java.lang.Integer |
OKVBatchOperation.okvRekey(java.lang.String uid,
java.lang.Integer offset,
OKVTTLV attributeList)
Implements the KMIP REKEY operation.
|
Modifier and Type | Method and Description |
---|---|
OKVTTLV |
OKVAttribute.getAttrTTLV()
Get Attribute TTLV.
|
OKVTTLV |
OKVAttrsResponse.getTemplateAttributes()
An OKVTTLV structure with the list of attributes as its child TTLVs
is returned.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<OKVTTLV> |
OKVTemplateResponse.getAttrs()
Gets the attributes of the template.
|
Modifier and Type | Method and Description |
---|---|
OKVUidResponse |
OKVService.okvAddAttribute(java.lang.String uid,
OKVTTLV attr)
API to perform the KMIP Add attribute operation on a KMIP object.
|
OKVUidResponse |
OKVService.okvCreateKey(OKVTagEnum algorithm,
int keyLength,
int usageMask,
OKVTTLV attributeList,
java.lang.String walletName)
API to perform the KMIP Create operation for the KMIP symmetric
key object.
|
OKVUidListResponse |
OKVService.okvLocate(java.lang.Integer maxItems,
java.lang.Integer storageStatusMask,
OKVTagEnum objectGroupMember,
OKVTTLV attributeList)
API to find a KMIP object through the KMIP Locate operation.
|
OKVResponse |
OKVService.okvModifyAttribute(java.lang.String uid,
OKVTTLV attr)
API to perform the KMIP Modify attribute operation on a KMIP object.
|
OKVUidResponse |
OKVService.okvRegCertificate(OKVTagEnum certificateType,
OKVTag certificateSubType,
byte[] certificateValue,
int usageMask,
OKVTTLV attributeList,
java.lang.String privateKeyUID,
java.lang.String walletName)
API to do the KMIP Register operation for the KMIP certificate object.
|
OKVUidResponse |
OKVService.okvRegCertificateRequest(OKVTagEnum certificateRequestType,
byte[] certificateRequestValue,
OKVTTLV attributeList,
java.lang.String privateKeyUID,
java.lang.String walletName)
API to do the KMIP Register operation for the KMIP certificate request
object.
|
OKVUidResponse |
OKVService.okvRegKey(byte[] keyValue,
OKVTagEnum algorithm,
int keyLength,
int usageMask,
OKVTTLV attributeList,
java.lang.String walletName)
API to perform the KMIP Register operation for the KMIP
symmetric key object.
|
OKVUidResponse |
OKVService.okvRegOpaqueData(OKVTagEnum opaqueType,
byte[] opaqueValue,
OKVTTLV attributeList,
java.lang.String walletName)
API to perform the KMIP Register operation for the KMIP
opaque data object.
|
OKVUidResponse |
OKVService.okvRegPrivateKey(byte[] privateKeyValue,
OKVTagEnum algorithm,
int privateKeyLength,
int usageMask,
OKVTTLV attributeList,
java.lang.String walletName)
API to perform the KMIP Register operation for the KMIP
private key object.
|
OKVUidResponse |
OKVService.okvRegPublicKey(byte[] publicKeyValue,
OKVTagEnum algorithm,
int publicKeyLength,
int usageMask,
OKVTTLV attributeList,
java.lang.String privateKeyUID,
java.lang.String walletName)
API to perform the KMIP Register operation for the KMIP
public key object.
|
OKVUidResponse |
OKVService.okvRegSecretData(OKVTagEnum secretDataType,
byte[] secretDataValue,
int usageMask,
OKVTTLV attributeList,
java.lang.String walletName)
API to perform the KMIP Register operation for the
KMIP secret data object.
|
OKVUidResponse |
OKVService.okvRegTemplate(OKVTTLV attributeList,
java.lang.String walletName)
API to perform the KMIP Register operation for the KMIP
template object.
|
OKVUidResponse |
OKVService.okvRekey(java.lang.String uid,
java.lang.Integer offset,
OKVTTLV attributeList)
API to perform the KMIP Rekey operation for the
symmetric key object.
|