Oracle Security Developer Tools Crypto Java API Reference
10g Release 2 (10.1.2.0.2)

B15565-01


oracle.security.crypto.core
Class PBMacAlgID

java.lang.Object
  extended byoracle.security.crypto.core.AlgorithmIdentifier
      extended byoracle.security.crypto.core.PBMacAlgID

All Implemented Interfaces:
ASN1Object, java.lang.Cloneable, Streamable

public class PBMacAlgID
extends AlgorithmIdentifier

Algorithm identifier with parameters for PasswordBasedMAC.


Constructor Summary
PBMacAlgID()
PBMacAlgID(ASN1Object params)
PBMacAlgID(byte[] salt, AlgorithmIdentifier owf, java.math.BigInteger count, AlgorithmIdentifier mac)
PBMacAlgID(java.io.InputStream is)

Method Summary
java.lang.Object clone()
Creates a deep copy of this PBMacID object.
java.math.BigInteger getCount()
AlgorithmIdentifier getMacAlgID()
AlgorithmIdentifier getOwfAlgID()
byte[] getSalt()
void input(java.io.InputStream is)
Reads in a PBMacID object from the given input stream.

Methods inherited from class oracle.security.crypto.core.AlgorithmIdentifier
equals, getOID, getParameters, hashCode, length, output, toString

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

Constructor Detail

PBMacAlgID

public PBMacAlgID()

PBMacAlgID

public PBMacAlgID(byte[] salt,
                  AlgorithmIdentifier owf,
                  java.math.BigInteger count,
                  AlgorithmIdentifier mac)
           throws AlgorithmIdentifierException

PBMacAlgID

public PBMacAlgID(ASN1Object params)
           throws AlgorithmIdentifierException

PBMacAlgID

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

Method Detail

getSalt

public byte[] getSalt()

getOwfAlgID

public AlgorithmIdentifier getOwfAlgID()

getCount

public java.math.BigInteger getCount()

getMacAlgID

public AlgorithmIdentifier getMacAlgID()

clone

public java.lang.Object clone()
Creates a deep copy of this PBMacID object.
Overrides:
clone in class AlgorithmIdentifier

input

public void input(java.io.InputStream is)
           throws java.io.IOException
Reads in a PBMacID object from the given input stream.
Specified by:
input in interface Streamable
Overrides:
input in class AlgorithmIdentifier
Parameters:
is - The input stream.
Throws:
java.io.IOException - If an I/O error occurs.

Oracle Security Developer Tools Crypto Java API Reference
10g Release 2 (10.1.2.0.2)

B15565-01


Copyright © 2005 , Oracle. All rights reserved.