|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectanon.crypto.AbstractX509Extension
anon.crypto.AbstractX509KeyIdentifier
public abstract class AbstractX509KeyIdentifier
The key identifier is calculated using a SHA1 hash over the BIT STRING from SubjectPublicKeyInfo as defined in RFC3280. For DSA-PublicKeys the AlgorithmIdentifier of the SubjectPublicKeyInfo MUST contain the DSA-Parameters as specified in RFC 3279
| Field Summary | |
|---|---|
protected java.lang.String |
m_value
|
| Fields inherited from class anon.crypto.AbstractX509Extension |
|---|
IDENTIFIER |
| Constructor Summary | |
|---|---|
AbstractX509KeyIdentifier(org.bouncycastle.asn1.DERSequence a_extension)
Create a new KeyIdentifier from a BouncyCastle DERSequence |
|
AbstractX509KeyIdentifier(java.lang.String a_identifier,
byte[] a_value)
Create a new KeyIdentifier from a Extension-Identifier an the octets of the Extension. |
|
| Method Summary | |
|---|---|
java.lang.String |
getValue()
Returns the key identifier as human-readable hex string of the form A4:54:21:52:F1:... |
java.util.Vector |
getValues()
Returns the key identifier as human-readable hex string. |
java.lang.String |
getValueWithoutColon()
Returns the key identifier as human-readable hex string without ":" separators. |
| Methods inherited from class anon.crypto.AbstractX509Extension |
|---|
equals, getBCExtension, getDEROctets, getIdentifier, getInstance, getName, hashCode, isCritical, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String m_value
| Constructor Detail |
|---|
public AbstractX509KeyIdentifier(java.lang.String a_identifier,
byte[] a_value)
a_identifier - the extensions identifier Stringa_value - the octets of the extenisonhttp://tools.ietf.org/html/rfc5280public AbstractX509KeyIdentifier(org.bouncycastle.asn1.DERSequence a_extension)
a_extension - the extension as DERSequence| Method Detail |
|---|
public java.lang.String getValue()
public java.lang.String getValueWithoutColon()
public java.util.Vector getValues()
getValues in class AbstractX509Extension
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||