codec.pkcs1
Class DigestInfo
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractList
|
+--java.util.ArrayList
|
+--codec.asn1.ASN1AbstractCollection
|
+--codec.asn1.ASN1Sequence
|
+--codec.pkcs1.DigestInfo
- All Implemented Interfaces:
- ASN1Collection, ASN1Type, Cloneable, Collection, Externalizable, List, Serializable
- public class DigestInfo
- extends ASN1Sequence
This class implements a DigestInfo data structure according to PKCS#1
DigestInfo ::= SEQUENCE {
digestAlgorithm AlgorithmIdentifier, -- identifies the digest algorithm
digest OCTET STRING -- contains the DER-encoded digest value
}
- Version:
- "$Id: DigestInfo.java,v 1.6 2002/08/28 21:40:35 jpeters Exp $"
- Author:
- Michele Boivin
- See Also:
- Serialized Form
| Methods inherited from class codec.asn1.ASN1AbstractCollection |
checkConstraints, decode, encode, getCollection, getConstraint, getTagClass, getValue, isExplicit, isOptional, isType, readExternal, setConstraint, setExplicit, setOptional, toString, writeExternal |
| Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from interface java.util.Collection |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
DigestInfo
public DigestInfo()
DigestInfo
public DigestInfo(AlgorithmIdentifier aid,
byte[] digest)
getAlgorithmIdentifier
public AlgorithmIdentifier getAlgorithmIdentifier()
getDigest
public byte[] getDigest()
Copyright © Fraunhofer Gesellschaft. All Rights Reserved.