oracle.security.crypto.core
Class PBMacAlgID
java.lang.Object
oracle.security.crypto.core.AlgorithmIdentifier
oracle.security.crypto.core.PBMacAlgID
- All Implemented Interfaces:
- ASN1Object, java.lang.Cloneable, Streamable
- public class PBMacAlgID
- extends AlgorithmIdentifier
Algorithm identifier with parameters for PasswordBasedMAC
.
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
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
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.
Copyright © 2005 ,2006 , Oracle. All rights reserved.