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

Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
DigestInfo()
           
DigestInfo(AlgorithmIdentifier aid, byte[] digest)
           
 
Method Summary
 AlgorithmIdentifier getAlgorithmIdentifier()
           
 byte[] getDigest()
           
 
Methods inherited from class codec.asn1.ASN1Sequence
getTag
 
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 class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, remove, removeAll, retainAll
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList
 

Constructor Detail

DigestInfo

public DigestInfo()

DigestInfo

public DigestInfo(AlgorithmIdentifier aid,
                  byte[] digest)
Method Detail

getAlgorithmIdentifier

public AlgorithmIdentifier getAlgorithmIdentifier()

getDigest

public byte[] getDigest()


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.