KMSClientProvider.KMSMetadatapublic static class KeyProvider.Metadata
extends java.lang.Object
| Modifier | Constructor | Description |
|---|---|---|
protected |
Metadata(byte[] bytes) |
Deserialize a new metadata object from a set of bytes.
|
protected |
Metadata(java.lang.String cipher,
int bitLength,
java.lang.String description,
java.util.Map<java.lang.String,java.lang.String> attributes,
java.util.Date created,
int versions) |
| Modifier and Type | Method | Description |
|---|---|---|
protected int |
addVersion() |
|
java.lang.String |
getAlgorithm() |
Get the algorithm from the cipher.
|
java.util.Map<java.lang.String,java.lang.String> |
getAttributes() |
|
int |
getBitLength() |
|
java.lang.String |
getCipher() |
|
java.util.Date |
getCreated() |
|
java.lang.String |
getDescription() |
|
int |
getVersions() |
|
protected byte[] |
serialize() |
Serialize the metadata to a set of bytes.
|
java.lang.String |
toString() |
protected Metadata(java.lang.String cipher,
int bitLength,
java.lang.String description,
java.util.Map<java.lang.String,java.lang.String> attributes,
java.util.Date created,
int versions)
protected Metadata(byte[] bytes)
throws java.io.IOException
bytes - the serialized metadatajava.io.IOException - raised on errors performing I/O.public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getDescription()
public java.util.Date getCreated()
public java.lang.String getCipher()
public java.util.Map<java.lang.String,java.lang.String> getAttributes()
public java.lang.String getAlgorithm()
public int getBitLength()
public int getVersions()
protected int addVersion()
protected byte[] serialize()
throws java.io.IOException
java.io.IOException - raised on errors performing I/O.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.