kz.gamma.hardware.jce
Class Pkcs10RequestCreator
java.lang.Object
kz.gamma.hardware.jce.Pkcs10RequestCreator
public class Pkcs10RequestCreator
- extends java.lang.Object
- Author:
- Renat Karimov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
subject
private X509Name subject
privateKey
private JCEPrivateKey privateKey
publicKey
private JCEPublicKey publicKey
attributes
private ASN1Set attributes
cryptoObject
private CryptoObject cryptoObject
publicKeyOid
private java.lang.String publicKeyOid
signatureOid
private java.lang.String signatureOid
Pkcs10RequestCreator
public Pkcs10RequestCreator(X509Name subject,
JCEPrivateKey privateKey,
JCEPublicKey publicKey,
ASN1Set attributes,
CryptoObject cryptoObject,
java.lang.String publicKeyOid,
java.lang.String signatureOid)
createPkcs10
public byte[] createPkcs10()
throws java.security.NoSuchAlgorithmException
- Throws:
java.security.NoSuchAlgorithmException
generateSubjectPublicKeyInfo
private SubjectPublicKeyInfo generateSubjectPublicKeyInfo()
generateSignature
private java.util.Map generateSignature(byte[] tbs,
boolean invertRsaSignature)
throws java.security.NoSuchAlgorithmException
- Throws:
java.security.NoSuchAlgorithmException
Copyright © 2013 Gamma Technologies. All Rights Reserved.