org.bouncycastle.jce.provider
Class X509SignatureUtil

java.lang.Object
  extended by org.bouncycastle.jce.provider.X509SignatureUtil

 class X509SignatureUtil
extends java.lang.Object


Field Summary
private static ASN1Null derNull
           
 
Constructor Summary
X509SignatureUtil()
           
 
Method Summary
private static java.lang.String getDigestAlgName(DERObjectIdentifier digestAlgOID)
          Return the digest algorithm using one of the standard JCA string representations rather the the algorithm identifier (if possible).
(package private) static java.lang.String getSignatureName(AlgorithmIdentifier sigAlgId)
           
(package private) static void setSignatureParameters(java.security.Signature signature, DEREncodable params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

derNull

private static final ASN1Null derNull
Constructor Detail

X509SignatureUtil

X509SignatureUtil()
Method Detail

setSignatureParameters

static void setSignatureParameters(java.security.Signature signature,
                                   DEREncodable params)
                            throws java.security.NoSuchAlgorithmException,
                                   java.security.SignatureException,
                                   java.security.InvalidKeyException
Throws:
java.security.NoSuchAlgorithmException
java.security.SignatureException
java.security.InvalidKeyException

getSignatureName

static java.lang.String getSignatureName(AlgorithmIdentifier sigAlgId)

getDigestAlgName

private static java.lang.String getDigestAlgName(DERObjectIdentifier digestAlgOID)
Return the digest algorithm using one of the standard JCA string representations rather the the algorithm identifier (if possible).