| |
|
| java.lang.Object org.apache.harmony.security.x509.AlgorithmIdentifier
AlgorithmIdentifier | public class AlgorithmIdentifier (Code) | | The class encapsulates the ASN.1 DER encoding/decoding work
with the Algorithm Identifier which is a part of X.509 certificate
(as specified in RFC 3280 -
Internet X.509 Public Key Infrastructure.
Certificate and Certificate Revocation List (CRL) Profile.
http://www.ietf.org/rfc/rfc3280.txt):
AlgorithmIdentifier ::= SEQUENCE {
algorithm OBJECT IDENTIFIER,
parameters ANY DEFINED BY algorithm OPTIONAL
}
|
Method Summary | |
public void | dumpValue(StringBuffer buffer) Places the string representation into the StringBuffer object. | public boolean | equals(Object ai) | public String | getAlgorithm() Returns the value of algorithm field of the structure. | public String | getAlgorithmName() Returns the name of the algorithm corresponding to
its OID. | public byte[] | getEncoded() Returns ASN.1 encoded form of this X.509 AlgorithmIdentifier value. | public byte[] | getParameters() Returns the value of parameters field of the structure. | public int | hashCode() |
ASN1 | final public static ASN1Sequence ASN1(Code) | | Custom AlgorithmIdentifier DER encoder/decoder
|
AlgorithmIdentifier | public AlgorithmIdentifier(String algorithm)(Code) | | TODO
algorithm: String |
AlgorithmIdentifier | public AlgorithmIdentifier(String algorithm, byte[] parameters)(Code) | | TODO
algorithm: String parameters: byte[] |
dumpValue | public void dumpValue(StringBuffer buffer)(Code) | | Places the string representation into the StringBuffer object.
|
getAlgorithm | public String getAlgorithm()(Code) | | Returns the value of algorithm field of the structure.
algorithm |
getAlgorithmName | public String getAlgorithmName()(Code) | | Returns the name of the algorithm corresponding to
its OID. If there is no the such correspondence,
algorithm OID is returned.
algorithm |
getEncoded | public byte[] getEncoded()(Code) | | Returns ASN.1 encoded form of this X.509 AlgorithmIdentifier value.
a byte array containing ASN.1 encode form. |
getParameters | public byte[] getParameters()(Code) | | Returns the value of parameters field of the structure.
parameters |
hashCode | public int hashCode()(Code) | | |
|
|
|