Oracle Security Developer Tools Crypto Java API Reference
10g (10.1.4.0.1)

B28171-01


oracle.security.crypto.core
Class DigestInfo

java.lang.Object
  extended byoracle.security.crypto.core.DigestInfo

All Implemented Interfaces:
ASN1Object, Streamable

public final class DigestInfo
extends java.lang.Object
implements ASN1Object

The DigestInfo structure of PKCS #1 and CMS.


Constructor Summary
DigestInfo(AlgorithmIdentifier digestAlgID, byte[] digest)
           
DigestInfo(java.io.InputStream is)
           

 

Method Summary
 boolean equals(AlgorithmIdentifier digestAlgID, byte[] digest)
           
 boolean equals(java.lang.Object o)
           
 byte[] getDigest()
           
 AlgorithmIdentifier getDigestAlgID()
           
 void input(java.io.InputStream is)
          Inputs this object from the specified input stream.
 int length()
          Length of this object's encoding.
 void output(java.io.OutputStream os)
          Outputs this object to the specified output stream.
 java.lang.String toString()
           

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

DigestInfo

public DigestInfo(AlgorithmIdentifier digestAlgID,
                  byte[] digest)

DigestInfo

public DigestInfo(java.io.InputStream is)
           throws java.io.IOException

Method Detail

getDigestAlgID

public AlgorithmIdentifier getDigestAlgID()

getDigest

public byte[] getDigest()

equals

public boolean equals(AlgorithmIdentifier digestAlgID,
                      byte[] digest)

equals

public boolean equals(java.lang.Object o)

toString

public java.lang.String toString()

input

public void input(java.io.InputStream is)
           throws java.io.IOException
Description copied from interface: Streamable
Inputs this object from the specified input stream.
Specified by:
input in interface Streamable
Throws:
java.io.IOException

output

public void output(java.io.OutputStream os)
            throws java.io.IOException
Description copied from interface: Streamable
Outputs this object to the specified output stream.
Specified by:
output in interface Streamable
Throws:
java.io.IOException

length

public int length()
Description copied from interface: Streamable
Length of this object's encoding.
Specified by:
length in interface Streamable

Oracle Security Developer Tools Crypto Java API Reference
10g (10.1.4.0.1)

B28171-01


Copyright © 2005 ,2006 , Oracle. All rights reserved.