META-INF/
META-INF/MANIFEST.MF
sun/security/pkcs11/Config.class
Config.java
package sun.security.pkcs11
final sun.security.pkcs11.Config extends java.lang.Object {
static final int ERR_HALT
static final int ERR_IGNORE_ALL
static final int ERR_IGNORE_LIB
private static final boolean staticAllowSingleThreadedModules
private static final java.util.Map configMap
private static final boolean DEBUG
private java.io.Reader reader
private java.io.StreamTokenizer st
private java.util.Set parsedKeywords
private String name
private String library
private String description
private int slotID
private int slotListIndex
private java.util.Set enabledMechanisms
private java.util.Set disabledMechanisms
private boolean showInfo
private sun.security.pkcs11.TemplateManager templateManager
private int handleStartupErrors
private boolean keyStoreCompatibilityMode
private boolean explicitCancel
private int insertionCheckInterval
private boolean omitInitialize
private boolean allowSingleThreadedModules
private String functionList
private boolean nssUseSecmod
private String nssLibraryDirectory
private String nssSecmodDirectory
private String nssModule
private sun.security.pkcs11.Secmod$DbMode nssDbMode
private boolean nssNetscapeDbWorkaround
private String nssArgs
private boolean nssUseSecmodTrust
private boolean useEcX963Encoding
private boolean nssOptimizeSpace
private static final sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] CK_A0
static sun.security.pkcs11.Config getConfig (java.lang.String, java.io.InputStream)
static sun.security.pkcs11.Config removeConfig (java.lang.String)
private static void debug (java.lang.Object)
private void <init> (java.lang.String, java.io.InputStream) throws java.io.IOException
java.lang.String getName ()
java.lang.String getLibrary ()
java.lang.String getDescription ()
int getSlotID ()
int getSlotListIndex ()
boolean getShowInfo ()
sun.security.pkcs11.TemplateManager getTemplateManager ()
boolean isEnabled (long)
int getHandleStartupErrors ()
boolean getKeyStoreCompatibilityMode ()
boolean getExplicitCancel ()
int getInsertionCheckInterval ()
boolean getOmitInitialize ()
boolean getAllowSingleThreadedModules ()
java.lang.String getFunctionList ()
boolean getNssUseSecmod ()
java.lang.String getNssLibraryDirectory ()
java.lang.String getNssSecmodDirectory ()
java.lang.String getNssModule ()
sun.security.pkcs11.Secmod$DbMode getNssDbMode ()
public boolean getNssNetscapeDbWorkaround ()
java.lang.String getNssArgs ()
boolean getNssUseSecmodTrust ()
boolean getUseEcX963Encoding ()
boolean getNssOptimizeSpace ()
private static java.lang.String expand (java.lang.String) throws java.io.IOException
private void setupTokenizer ()
private sun.security.pkcs11.ConfigurationException excToken (java.lang.String)
private sun.security.pkcs11.ConfigurationException excLine (java.lang.String)
private void parse () throws java.io.IOException
private int nextToken () throws java.io.IOException
private void parseEquals () throws java.io.IOException
private void parseOpenBraces () throws java.io.IOException
private boolean isCloseBraces (int)
private java.lang.String parseWord () throws java.io.IOException
private java.lang.String parseStringEntry (java.lang.String) throws java.io.IOException
private boolean parseBooleanEntry (java.lang.String) throws java.io.IOException
private int parseIntegerEntry (java.lang.String) throws java.io.IOException
private boolean parseBoolean () throws java.io.IOException
private java.lang.String parseLine () throws java.io.IOException
private int decodeNumber (java.lang.String) throws java.io.IOException
private static boolean isNumber (java.lang.String)
private void parseComma () throws java.io.IOException
private static boolean isByteArray (java.lang.String)
private byte[] decodeByteArray (java.lang.String) throws java.io.IOException
private void checkDup (java.lang.String) throws java.io.IOException
private java.lang.String parseLibrary (java.lang.String) throws java.io.IOException
private void parseDescription (java.lang.String) throws java.io.IOException
private void parseSlotID (java.lang.String) throws java.io.IOException
private void parseSlotListIndex (java.lang.String) throws java.io.IOException
private void parseEnabledMechanisms (java.lang.String) throws java.io.IOException
private void parseDisabledMechanisms (java.lang.String) throws java.io.IOException
private java.util.Set parseMechanisms (java.lang.String) throws java.io.IOException
private long parseMechanism (java.lang.String) throws java.io.IOException
private void parseAttributes (java.lang.String) throws java.io.IOException
private void setCompatibilityAttributes ()
private java.lang.String parseOperation () throws java.io.IOException
private long parseObjectClass () throws java.io.IOException
private long parseKeyAlgorithm () throws java.io.IOException
private long decodeAttributeName (java.lang.String) throws java.io.IOException
private sun.security.pkcs11.wrapper.CK_ATTRIBUTE decodeAttributeValue (long, java.lang.String) throws java.io.IOException
private void parseNSSArgs (java.lang.String) throws java.io.IOException
private void parseHandleStartupErrors (java.lang.String) throws java.io.IOException
static void <clinit> ()
}
sun/security/pkcs11/ConfigurationException.class
Config.java
package sun.security.pkcs11
sun.security.pkcs11.ConfigurationException extends java.io.IOException {
private static final long serialVersionUID
void <init> (java.lang.String)
}
sun/security/pkcs11/ConstructKeys.class
P11RSACipher.java
package sun.security.pkcs11
final sun.security.pkcs11.ConstructKeys extends java.lang.Object {
void <init> ()
private static final java.security.PublicKey constructPublicKey (byte[], java.lang.String) throws java.security.InvalidKeyException java.security.NoSuchAlgorithmException
private static final java.security.PrivateKey constructPrivateKey (byte[], java.lang.String) throws java.security.InvalidKeyException java.security.NoSuchAlgorithmException
private static final javax.crypto.SecretKey constructSecretKey (byte[], java.lang.String)
static final java.security.Key constructKey (byte[], java.lang.String, int) throws java.security.InvalidKeyException java.security.NoSuchAlgorithmException
}
sun/security/pkcs11/KeyCache$IdentityWrapper.class
KeyCache.java
package sun.security.pkcs11
final sun.security.pkcs11.KeyCache$IdentityWrapper extends java.lang.Object {
final Object obj
void <init> (java.lang.Object)
public boolean equals (java.lang.Object)
public int hashCode ()
}
sun/security/pkcs11/KeyCache.class
KeyCache.java
package sun.security.pkcs11
final sun.security.pkcs11.KeyCache extends java.lang.Object {
private final sun.security.util.Cache strongCache
private java.lang.ref.WeakReference cacheReference
void <init> ()
synchronized sun.security.pkcs11.P11Key get (java.security.Key)
synchronized void put (java.security.Key, sun.security.pkcs11.P11Key)
}
sun/security/pkcs11/P11Cipher$PKCS5Padding.class
P11Cipher.java
package sun.security.pkcs11
sun.security.pkcs11.P11Cipher$PKCS5Padding extends java.lang.Object implements sun.security.pkcs11.P11Cipher$Padding {
private final int blockSize
void <init> (int) throws javax.crypto.NoSuchPaddingException
public int setPaddingBytes (byte[], int)
public int unpad (byte[], int) throws javax.crypto.BadPaddingException javax.crypto.IllegalBlockSizeException
}
sun/security/pkcs11/P11Cipher$Padding.class
P11Cipher.java
package sun.security.pkcs11
abstract sun.security.pkcs11.P11Cipher$Padding extends java.lang.Object {
public abstract int setPaddingBytes (byte[], int)
public abstract int unpad (byte[], int) throws javax.crypto.BadPaddingException javax.crypto.IllegalBlockSizeException
}
sun/security/pkcs11/P11Cipher.class
P11Cipher.java
package sun.security.pkcs11
final sun.security.pkcs11.P11Cipher extends javax.crypto.CipherSpi {
private static final int MODE_ECB
private static final int MODE_CBC
private static final int MODE_CTR
private static final int PAD_NONE
private static final int PAD_PKCS5
private final sun.security.pkcs11.Token token
private final String algorithm
private final String keyAlgorithm
private final long mechanism
private sun.security.pkcs11.Session session
private sun.security.pkcs11.P11Key p11Key
private boolean initialized
private boolean encrypt
private int blockMode
private final int blockSize
private int paddingType
private sun.security.pkcs11.P11Cipher$Padding paddingObj
private byte[] padBuffer
private int padBufferLen
private byte[] iv
private int bytesBuffered
private int fixedKeySize
void <init> (sun.security.pkcs11.Token, java.lang.String, long) throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.NoSuchAlgorithmException
protected void engineSetMode (java.lang.String) throws java.security.NoSuchAlgorithmException
private int parseMode (java.lang.String) throws java.security.NoSuchAlgorithmException
protected void engineSetPadding (java.lang.String) throws javax.crypto.NoSuchPaddingException
protected int engineGetBlockSize ()
protected int engineGetOutputSize (int)
protected byte[] engineGetIV ()
protected java.security.AlgorithmParameters engineGetParameters ()
protected void engineInit (int, java.security.Key, java.security.SecureRandom) throws java.security.InvalidKeyException
protected void engineInit (int, java.security.Key, java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom) throws java.security.InvalidKeyException java.security.InvalidAlgorithmParameterException
protected void engineInit (int, java.security.Key, java.security.AlgorithmParameters, java.security.SecureRandom) throws java.security.InvalidKeyException java.security.InvalidAlgorithmParameterException
private void implInit (int, java.security.Key, byte[], java.security.SecureRandom) throws java.security.InvalidKeyException java.security.InvalidAlgorithmParameterException
private void cancelOperation ()
private void ensureInitialized () throws sun.security.pkcs11.wrapper.PKCS11Exception
private void initialize () throws sun.security.pkcs11.wrapper.PKCS11Exception
private int updateLength (int)
private int doFinalLength (int)
private void reset ()
protected byte[] engineUpdate (byte[], int, int)
protected int engineUpdate (byte[], int, int, byte[], int) throws javax.crypto.ShortBufferException
protected int engineUpdate (java.nio.ByteBuffer, java.nio.ByteBuffer) throws javax.crypto.ShortBufferException
protected byte[] engineDoFinal (byte[], int, int) throws javax.crypto.IllegalBlockSizeException javax.crypto.BadPaddingException
protected int engineDoFinal (byte[], int, int, byte[], int) throws javax.crypto.ShortBufferException javax.crypto.IllegalBlockSizeException javax.crypto.BadPaddingException
protected int engineDoFinal (java.nio.ByteBuffer, java.nio.ByteBuffer) throws javax.crypto.ShortBufferException javax.crypto.IllegalBlockSizeException javax.crypto.BadPaddingException
private int implUpdate (byte[], int, int, byte[], int, int) throws javax.crypto.ShortBufferException
private int implUpdate (java.nio.ByteBuffer, java.nio.ByteBuffer) throws javax.crypto.ShortBufferException
private int implDoFinal (byte[], int, int) throws javax.crypto.ShortBufferException javax.crypto.IllegalBlockSizeException javax.crypto.BadPaddingException
private int implDoFinal (java.nio.ByteBuffer) throws javax.crypto.ShortBufferException javax.crypto.IllegalBlockSizeException javax.crypto.BadPaddingException
private void handleException (sun.security.pkcs11.wrapper.PKCS11Exception) throws javax.crypto.ShortBufferException javax.crypto.IllegalBlockSizeException
protected byte[] engineWrap (java.security.Key) throws javax.crypto.IllegalBlockSizeException java.security.InvalidKeyException
protected java.security.Key engineUnwrap (byte[], java.lang.String, int) throws java.security.InvalidKeyException java.security.NoSuchAlgorithmException
protected int engineGetKeySize (java.security.Key) throws java.security.InvalidKeyException
private final void bufferInputBytes (byte[], int, int)
private final void bufferInputBytes (java.nio.ByteBuffer, int)
}
sun/security/pkcs11/P11DHKeyFactory.class
P11DHKeyFactory.java
package sun.security.pkcs11
final sun.security.pkcs11.P11DHKeyFactory extends sun.security.pkcs11.P11KeyFactory {
void <init> (sun.security.pkcs11.Token, java.lang.String)
java.security.PublicKey implTranslatePublicKey (java.security.PublicKey) throws java.security.InvalidKeyException
java.security.PrivateKey implTranslatePrivateKey (java.security.PrivateKey) throws java.security.InvalidKeyException
protected java.security.PublicKey engineGeneratePublic (java.security.spec.KeySpec) throws java.security.spec.InvalidKeySpecException
protected java.security.PrivateKey engineGeneratePrivate (java.security.spec.KeySpec) throws java.security.spec.InvalidKeySpecException
private java.security.PublicKey generatePublic (java.math.BigInteger, java.math.BigInteger, java.math.BigInteger) throws sun.security.pkcs11.wrapper.PKCS11Exception
private java.security.PrivateKey generatePrivate (java.math.BigInteger, java.math.BigInteger, java.math.BigInteger) throws sun.security.pkcs11.wrapper.PKCS11Exception
java.security.spec.KeySpec implGetPublicKeySpec (sun.security.pkcs11.P11Key, java.lang.Class, sun.security.pkcs11.Session[]) throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.spec.InvalidKeySpecException
java.security.spec.KeySpec implGetPrivateKeySpec (sun.security.pkcs11.P11Key, java.lang.Class, sun.security.pkcs11.Session[]) throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.spec.InvalidKeySpecException
java.security.KeyFactory implGetSoftwareFactory () throws java.security.GeneralSecurityException
}
sun/security/pkcs11/P11DSAKeyFactory.class
P11DSAKeyFactory.java
package sun.security.pkcs11
final sun.security.pkcs11.P11DSAKeyFactory extends sun.security.pkcs11.P11KeyFactory {
void <init> (sun.security.pkcs11.Token, java.lang.String)
java.security.PublicKey implTranslatePublicKey (java.security.PublicKey) throws java.security.InvalidKeyException
java.security.PrivateKey implTranslatePrivateKey (java.security.PrivateKey) throws java.security.InvalidKeyException
protected java.security.PublicKey engineGeneratePublic (java.security.spec.KeySpec) throws java.security.spec.InvalidKeySpecException
protected java.security.PrivateKey engineGeneratePrivate (java.security.spec.KeySpec) throws java.security.spec.InvalidKeySpecException
private java.security.PublicKey generatePublic (java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger) throws sun.security.pkcs11.wrapper.PKCS11Exception
private java.security.PrivateKey generatePrivate (java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger) throws sun.security.pkcs11.wrapper.PKCS11Exception
java.security.spec.KeySpec implGetPublicKeySpec (sun.security.pkcs11.P11Key, java.lang.Class, sun.security.pkcs11.Session[]) throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.spec.InvalidKeySpecException
java.security.spec.KeySpec implGetPrivateKeySpec (sun.security.pkcs11.P11Key, java.lang.Class, sun.security.pkcs11.Session[]) throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.spec.InvalidKeySpecException
java.security.KeyFactory implGetSoftwareFactory () throws java.security.GeneralSecurityException
}
sun/security/pkcs11/P11Digest.class
P11Digest.java
package sun.security.pkcs11
final sun.security.pkcs11.P11Digest extends java.security.MessageDigestSpi implements java.lang.Cloneable {
private static final int S_BLANK
private static final int S_BUFFERED
private static final int S_INIT
private static final int BUFFER_SIZE
private final sun.security.pkcs11.Token token
private final String algorithm
private final sun.security.pkcs11.wrapper.CK_MECHANISM mechanism
private final int digestLength
private sun.security.pkcs11.Session session
private int state
private byte[] buffer
private int bufOfs
void <init> (sun.security.pkcs11.Token, java.lang.String, long)
protected int engineGetDigestLength ()
private void fetchSession ()
protected void engineReset ()
protected byte[] engineDigest ()
protected int engineDigest (byte[], int, int) throws java.security.DigestException
protected void engineUpdate (byte)
protected void engineUpdate (byte[], int, int)
protected void implUpdate (javax.crypto.SecretKey) throws java.security.InvalidKeyException
protected void engineUpdate (java.nio.ByteBuffer)
public java.lang.Object clone () throws java.lang.CloneNotSupportedException
}
sun/security/pkcs11/P11ECDHKeyAgreement.class
P11ECDHKeyAgreement.java
package sun.security.pkcs11
final sun.security.pkcs11.P11ECDHKeyAgreement extends javax.crypto.KeyAgreementSpi {
private final sun.security.pkcs11.Token token
private final String algorithm
private final long mechanism
private sun.security.pkcs11.P11Key privateKey
private byte[] publicValue
private int secretLen
void <init> (sun.security.pkcs11.Token, java.lang.String, long)
protected void engineInit (java.security.Key, java.security.SecureRandom) throws java.security.InvalidKeyException
protected void engineInit (java.security.Key, java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom) throws java.security.InvalidKeyException java.security.InvalidAlgorithmParameterException
protected java.security.Key engineDoPhase (java.security.Key, boolean) throws java.security.InvalidKeyException java.lang.IllegalStateException
protected byte[] engineGenerateSecret () throws java.lang.IllegalStateException
protected int engineGenerateSecret (byte[], int) throws java.lang.IllegalStateException javax.crypto.ShortBufferException
protected javax.crypto.SecretKey engineGenerateSecret (java.lang.String) throws java.lang.IllegalStateException java.security.NoSuchAlgorithmException java.security.InvalidKeyException
private javax.crypto.SecretKey nativeGenerateSecret (java.lang.String) throws java.lang.IllegalStateException java.security.NoSuchAlgorithmException java.security.InvalidKeyException
}
sun/security/pkcs11/P11ECKeyFactory.class
P11ECKeyFactory.java
package sun.security.pkcs11
final sun.security.pkcs11.P11ECKeyFactory extends sun.security.pkcs11.P11KeyFactory {
private static java.security.Provider sunECprovider
private static java.security.Provider getSunECProvider ()
void <init> (sun.security.pkcs11.Token, java.lang.String)
static java.security.spec.ECParameterSpec getECParameterSpec (java.lang.String)
static java.security.spec.ECParameterSpec getECParameterSpec (int)
static java.security.spec.ECParameterSpec getECParameterSpec (java.security.spec.ECParameterSpec)
static java.security.spec.ECParameterSpec decodeParameters (byte[]) throws java.io.IOException
static byte[] encodeParameters (java.security.spec.ECParameterSpec)
static java.security.spec.ECPoint decodePoint (byte[], java.security.spec.EllipticCurve) throws java.io.IOException
static byte[] getEncodedPublicValue (java.security.PublicKey) throws java.security.InvalidKeyException
java.security.PublicKey implTranslatePublicKey (java.security.PublicKey) throws java.security.InvalidKeyException
java.security.PrivateKey implTranslatePrivateKey (java.security.PrivateKey) throws java.security.InvalidKeyException
protected java.security.PublicKey engineGeneratePublic (java.security.spec.KeySpec) throws java.security.spec.InvalidKeySpecException
protected java.security.PrivateKey engineGeneratePrivate (java.security.spec.KeySpec) throws java.security.spec.InvalidKeySpecException
private java.security.PublicKey generatePublic (java.security.spec.ECPoint, java.security.spec.ECParameterSpec) throws sun.security.pkcs11.wrapper.PKCS11Exception
private java.security.PrivateKey generatePrivate (java.math.BigInteger, java.security.spec.ECParameterSpec) throws sun.security.pkcs11.wrapper.PKCS11Exception
java.security.spec.KeySpec implGetPublicKeySpec (sun.security.pkcs11.P11Key, java.lang.Class, sun.security.pkcs11.Session[]) throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.spec.InvalidKeySpecException
java.security.spec.KeySpec implGetPrivateKeySpec (sun.security.pkcs11.P11Key, java.lang.Class, sun.security.pkcs11.Session[]) throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.spec.InvalidKeySpecException
java.security.KeyFactory implGetSoftwareFactory () throws java.security.GeneralSecurityException
}
sun/security/pkcs11/P11ECUtil.class
P11ECUtil.java
package sun.security.pkcs11
final sun.security.pkcs11.P11ECUtil extends java.lang.Object {
static java.security.interfaces.ECPublicKey decodeX509ECPublicKey (byte[]) throws java.security.spec.InvalidKeySpecException
static byte[] x509EncodeECPublicKey (java.security.spec.ECPoint, java.security.spec.ECParameterSpec) throws java.security.spec.InvalidKeySpecException
static java.security.interfaces.ECPrivateKey decodePKCS8ECPrivateKey (byte[]) throws java.security.spec.InvalidKeySpecException
static java.security.interfaces.ECPrivateKey generateECPrivateKey (java.math.BigInteger, java.security.spec.ECParameterSpec) throws java.security.spec.InvalidKeySpecException
private static java.security.PublicKey ECGeneratePublic (java.security.spec.KeySpec) throws java.security.spec.InvalidKeySpecException
private static java.security.PrivateKey ECGeneratePrivate (java.security.spec.KeySpec) throws java.security.spec.InvalidKeySpecException
private void <init> ()
}
sun/security/pkcs11/P11Key$P11DHPrivateKey.class
P11Key.java
package sun.security.pkcs11
final sun.security.pkcs11.P11Key$P11DHPrivateKey extends sun.security.pkcs11.P11Key implements javax.crypto.interfaces.DHPrivateKey {
private static final long serialVersionUID
private java.math.BigInteger x
private javax.crypto.spec.DHParameterSpec params
private byte[] encoded
void <init> (sun.security.pkcs11.Session, long, java.lang.String, int, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[])
private synchronized void fetchValues ()
public java.lang.String getFormat ()
synchronized byte[] getEncodedInternal ()
public java.math.BigInteger getX ()
public javax.crypto.spec.DHParameterSpec getParams ()
public int hashCode ()
public boolean equals (java.lang.Object)
}
sun/security/pkcs11/P11Key$P11DHPublicKey.class
P11Key.java
package sun.security.pkcs11
final sun.security.pkcs11.P11Key$P11DHPublicKey extends sun.security.pkcs11.P11Key implements javax.crypto.interfaces.DHPublicKey {
static final long serialVersionUID
private java.math.BigInteger y
private javax.crypto.spec.DHParameterSpec params
private byte[] encoded
void <init> (sun.security.pkcs11.Session, long, java.lang.String, int, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[])
private synchronized void fetchValues ()
public java.lang.String getFormat ()
synchronized byte[] getEncodedInternal ()
public java.math.BigInteger getY ()
public javax.crypto.spec.DHParameterSpec getParams ()
public java.lang.String toString ()
public int hashCode ()
public boolean equals (java.lang.Object)
}
sun/security/pkcs11/P11Key$P11DSAPrivateKey.class
P11Key.java
package sun.security.pkcs11
final sun.security.pkcs11.P11Key$P11DSAPrivateKey extends sun.security.pkcs11.P11Key implements java.security.interfaces.DSAPrivateKey {
private static final long serialVersionUID
private java.math.BigInteger x
private java.security.interfaces.DSAParams params
private byte[] encoded
void <init> (sun.security.pkcs11.Session, long, java.lang.String, int, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[])
private synchronized void fetchValues ()
public java.lang.String getFormat ()
synchronized byte[] getEncodedInternal ()
public java.math.BigInteger getX ()
public java.security.interfaces.DSAParams getParams ()
}
sun/security/pkcs11/P11Key$P11DSAPublicKey.class
P11Key.java
package sun.security.pkcs11
final sun.security.pkcs11.P11Key$P11DSAPublicKey extends sun.security.pkcs11.P11Key implements java.security.interfaces.DSAPublicKey {
private static final long serialVersionUID
private java.math.BigInteger y
private java.security.interfaces.DSAParams params
private byte[] encoded
void <init> (sun.security.pkcs11.Session, long, java.lang.String, int, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[])
private synchronized void fetchValues ()
public java.lang.String getFormat ()
synchronized byte[] getEncodedInternal ()
public java.math.BigInteger getY ()
public java.security.interfaces.DSAParams getParams ()
public java.lang.String toString ()
}
sun/security/pkcs11/P11Key$P11ECPrivateKey.class
P11Key.java
package sun.security.pkcs11
final sun.security.pkcs11.P11Key$P11ECPrivateKey extends sun.security.pkcs11.P11Key implements java.security.interfaces.ECPrivateKey {
private static final long serialVersionUID
private java.math.BigInteger s
private java.security.spec.ECParameterSpec params
private byte[] encoded
void <init> (sun.security.pkcs11.Session, long, java.lang.String, int, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[])
private synchronized void fetchValues ()
public java.lang.String getFormat ()
synchronized byte[] getEncodedInternal ()
public java.math.BigInteger getS ()
public java.security.spec.ECParameterSpec getParams ()
}
sun/security/pkcs11/P11Key$P11ECPublicKey.class
P11Key.java
package sun.security.pkcs11
final sun.security.pkcs11.P11Key$P11ECPublicKey extends sun.security.pkcs11.P11Key implements java.security.interfaces.ECPublicKey {
private static final long serialVersionUID
private java.security.spec.ECPoint w
private java.security.spec.ECParameterSpec params
private byte[] encoded
void <init> (sun.security.pkcs11.Session, long, java.lang.String, int, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[])
private synchronized void fetchValues ()
public java.lang.String getFormat ()
synchronized byte[] getEncodedInternal ()
public java.security.spec.ECPoint getW ()
public java.security.spec.ECParameterSpec getParams ()
public java.lang.String toString ()
}
sun/security/pkcs11/P11Key$P11PrivateKey.class
P11Key.java
package sun.security.pkcs11
final sun.security.pkcs11.P11Key$P11PrivateKey extends sun.security.pkcs11.P11Key implements java.security.PrivateKey {
private static final long serialVersionUID
void <init> (sun.security.pkcs11.Session, long, java.lang.String, int, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[])
public java.lang.String getFormat ()
byte[] getEncodedInternal ()
}
sun/security/pkcs11/P11Key$P11RSAPrivateKey.class
P11Key.java
package sun.security.pkcs11
final sun.security.pkcs11.P11Key$P11RSAPrivateKey extends sun.security.pkcs11.P11Key implements java.security.interfaces.RSAPrivateCrtKey {
private static final long serialVersionUID
private java.math.BigInteger n
private java.math.BigInteger e
private java.math.BigInteger d
private java.math.BigInteger p
private java.math.BigInteger q
private java.math.BigInteger pe
private java.math.BigInteger qe
private java.math.BigInteger coeff
private byte[] encoded
void <init> (sun.security.pkcs11.Session, long, java.lang.String, int, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[])
private synchronized void fetchValues ()
public java.lang.String getFormat ()
synchronized byte[] getEncodedInternal ()
public java.math.BigInteger getModulus ()
public java.math.BigInteger getPublicExponent ()
public java.math.BigInteger getPrivateExponent ()
public java.math.BigInteger getPrimeP ()
public java.math.BigInteger getPrimeQ ()
public java.math.BigInteger getPrimeExponentP ()
public java.math.BigInteger getPrimeExponentQ ()
public java.math.BigInteger getCrtCoefficient ()
}
sun/security/pkcs11/P11Key$P11RSAPrivateNonCRTKey.class
P11Key.java
package sun.security.pkcs11
final sun.security.pkcs11.P11Key$P11RSAPrivateNonCRTKey extends sun.security.pkcs11.P11Key implements java.security.interfaces.RSAPrivateKey {
private static final long serialVersionUID
private java.math.BigInteger n
private java.math.BigInteger d
private byte[] encoded
void <init> (sun.security.pkcs11.Session, long, java.lang.String, int, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[])
private synchronized void fetchValues ()
public java.lang.String getFormat ()
synchronized byte[] getEncodedInternal ()
public java.math.BigInteger getModulus ()
public java.math.BigInteger getPrivateExponent ()
}
sun/security/pkcs11/P11Key$P11RSAPublicKey.class
P11Key.java
package sun.security.pkcs11
final sun.security.pkcs11.P11Key$P11RSAPublicKey extends sun.security.pkcs11.P11Key implements java.security.interfaces.RSAPublicKey {
private static final long serialVersionUID
private java.math.BigInteger n
private java.math.BigInteger e
private byte[] encoded
void <init> (sun.security.pkcs11.Session, long, java.lang.String, int, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[])
private synchronized void fetchValues ()
public java.lang.String getFormat ()
synchronized byte[] getEncodedInternal ()
public java.math.BigInteger getModulus ()
public java.math.BigInteger getPublicExponent ()
public java.lang.String toString ()
}
sun/security/pkcs11/P11Key$P11SecretKey.class
P11Key.java
package sun.security.pkcs11
sun.security.pkcs11.P11Key$P11SecretKey extends sun.security.pkcs11.P11Key implements javax.crypto.SecretKey {
private static final long serialVersionUID
private volatile byte[] encoded
void <init> (sun.security.pkcs11.Session, long, java.lang.String, int, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[])
public java.lang.String getFormat ()
byte[] getEncodedInternal ()
}
sun/security/pkcs11/P11Key$P11TlsMasterSecretKey.class
P11Key.java
package sun.security.pkcs11
sun.security.pkcs11.P11Key$P11TlsMasterSecretKey extends sun.security.pkcs11.P11Key$P11SecretKey implements sun.security.internal.interfaces.TlsMasterSecret {
private static final long serialVersionUID
private final int majorVersion
private final int minorVersion
void <init> (sun.security.pkcs11.Session, long, java.lang.String, int, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[], int, int)
public int getMajorVersion ()
public int getMinorVersion ()
}
sun/security/pkcs11/P11Key.class
P11Key.java
package sun.security.pkcs11
abstract sun.security.pkcs11.P11Key extends java.lang.Object implements java.security.Key sun.security.util.Length {
private static final long serialVersionUID
private static final String PUBLIC
private static final String PRIVATE
private static final String SECRET
final String type
final sun.security.pkcs11.Token token
final String algorithm
final long keyID
final int keyLength
final boolean tokenObject
final boolean sensitive
final boolean extractable
private final sun.security.pkcs11.SessionKeyRef sessionKeyRef
private static final sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] A0
void <init> (java.lang.String, sun.security.pkcs11.Session, long, java.lang.String, int, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[])
public final java.lang.String getAlgorithm ()
public final byte[] getEncoded ()
abstract byte[] getEncodedInternal ()
public boolean equals (java.lang.Object)
public int hashCode ()
protected java.lang.Object writeReplace () throws java.io.ObjectStreamException
public java.lang.String toString ()
public int length ()
boolean isPublic ()
boolean isPrivate ()
boolean isSecret ()
void fetchAttributes (sun.security.pkcs11.wrapper.CK_ATTRIBUTE[])
private static sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] getAttributes (sun.security.pkcs11.Session, long, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[], sun.security.pkcs11.wrapper.CK_ATTRIBUTE[])
static javax.crypto.SecretKey secretKey (sun.security.pkcs11.Session, long, java.lang.String, int, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[])
static javax.crypto.SecretKey masterSecretKey (sun.security.pkcs11.Session, long, java.lang.String, int, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[], int, int)
static java.security.PublicKey publicKey (sun.security.pkcs11.Session, long, java.lang.String, int, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[])
static java.security.PrivateKey privateKey (sun.security.pkcs11.Session, long, java.lang.String, int, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[])
static void <clinit> ()
}
sun/security/pkcs11/P11KeyAgreement.class
P11KeyAgreement.java
package sun.security.pkcs11
final sun.security.pkcs11.P11KeyAgreement extends javax.crypto.KeyAgreementSpi {
private final sun.security.pkcs11.Token token
private final String algorithm
private final long mechanism
private sun.security.pkcs11.P11Key privateKey
private java.math.BigInteger publicValue
private int secretLen
private javax.crypto.KeyAgreement multiPartyAgreement
void <init> (sun.security.pkcs11.Token, java.lang.String, long)
protected void engineInit (java.security.Key, java.security.SecureRandom) throws java.security.InvalidKeyException
protected void engineInit (java.security.Key, java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom) throws java.security.InvalidKeyException java.security.InvalidAlgorithmParameterException
protected java.security.Key engineDoPhase (java.security.Key, boolean) throws java.security.InvalidKeyException java.lang.IllegalStateException
protected byte[] engineGenerateSecret () throws java.lang.IllegalStateException
protected int engineGenerateSecret (byte[], int) throws java.lang.IllegalStateException javax.crypto.ShortBufferException
protected javax.crypto.SecretKey engineGenerateSecret (java.lang.String) throws java.lang.IllegalStateException java.security.NoSuchAlgorithmException java.security.InvalidKeyException
private javax.crypto.SecretKey nativeGenerateSecret (java.lang.String) throws java.lang.IllegalStateException java.security.NoSuchAlgorithmException java.security.InvalidKeyException
}
sun/security/pkcs11/P11KeyFactory.class
P11KeyFactory.java
package sun.security.pkcs11
abstract sun.security.pkcs11.P11KeyFactory extends java.security.KeyFactorySpi {
final sun.security.pkcs11.Token token
final String algorithm
void <init> (sun.security.pkcs11.Token, java.lang.String)
static sun.security.pkcs11.P11Key convertKey (sun.security.pkcs11.Token, java.security.Key, java.lang.String) throws java.security.InvalidKeyException
protected final java.security.spec.KeySpec engineGetKeySpec (java.security.Key, java.lang.Class) throws java.security.spec.InvalidKeySpecException
protected final java.security.Key engineTranslateKey (java.security.Key) throws java.security.InvalidKeyException
abstract java.security.spec.KeySpec implGetPublicKeySpec (sun.security.pkcs11.P11Key, java.lang.Class, sun.security.pkcs11.Session[]) throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.spec.InvalidKeySpecException
abstract java.security.spec.KeySpec implGetPrivateKeySpec (sun.security.pkcs11.P11Key, java.lang.Class, sun.security.pkcs11.Session[]) throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.spec.InvalidKeySpecException
abstract java.security.PublicKey implTranslatePublicKey (java.security.PublicKey) throws java.security.InvalidKeyException
abstract java.security.PrivateKey implTranslatePrivateKey (java.security.PrivateKey) throws java.security.InvalidKeyException
abstract java.security.KeyFactory implGetSoftwareFactory () throws java.security.GeneralSecurityException
}
sun/security/pkcs11/P11KeyGenerator.class
P11KeyGenerator.java
package sun.security.pkcs11
final sun.security.pkcs11.P11KeyGenerator extends javax.crypto.KeyGeneratorSpi {
private final sun.security.pkcs11.Token token
private final String algorithm
private long mechanism
private int keySize
private int significantKeySize
private long keyType
private boolean supportBothKeySizes
static int checkKeySize (long, int, sun.security.pkcs11.Token) throws java.security.InvalidAlgorithmParameterException java.security.ProviderException
void <init> (sun.security.pkcs11.Token, java.lang.String, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
private void setDefaultKeySize ()
protected void engineInit (java.security.SecureRandom)
protected void engineInit (java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom) throws java.security.InvalidAlgorithmParameterException
protected void engineInit (int, java.security.SecureRandom)
protected javax.crypto.SecretKey engineGenerateKey ()
}
sun/security/pkcs11/P11KeyPairGenerator.class
P11KeyPairGenerator.java
package sun.security.pkcs11
final sun.security.pkcs11.P11KeyPairGenerator extends java.security.KeyPairGeneratorSpi {
private final sun.security.pkcs11.Token token
private final String algorithm
private final long mechanism
private int keySize
private java.security.spec.AlgorithmParameterSpec params
private java.math.BigInteger rsaPublicExponent
private final int minKeySize
private final int maxKeySize
private java.security.SecureRandom random
void <init> (sun.security.pkcs11.Token, java.lang.String, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public void initialize (int, java.security.SecureRandom)
public void initialize (java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom) throws java.security.InvalidAlgorithmParameterException
private void checkKeySize (int, java.security.spec.RSAKeyGenParameterSpec) throws java.security.InvalidAlgorithmParameterException
public java.security.KeyPair generateKeyPair ()
}
sun/security/pkcs11/P11KeyStore$1.class
P11KeyStore.java
package sun.security.pkcs11
synthetic sun.security.pkcs11.P11KeyStore$1 extends java.lang.Object {
}
sun/security/pkcs11/P11KeyStore$AliasInfo.class
P11KeyStore.java
package sun.security.pkcs11
sun.security.pkcs11.P11KeyStore$AliasInfo extends java.lang.Object {
private sun.security.pkcs11.wrapper.CK_ATTRIBUTE type
private String label
private byte[] id
private boolean trusted
private java.security.cert.X509Certificate cert
private java.security.cert.X509Certificate[] chain
private boolean matched
public void <init> (java.lang.String)
public void <init> (java.lang.String, byte[], boolean, java.security.cert.X509Certificate)
public java.lang.String toString ()
static synthetic sun.security.pkcs11.wrapper.CK_ATTRIBUTE access$400 (sun.security.pkcs11.P11KeyStore$AliasInfo)
static synthetic byte[] access$500 (sun.security.pkcs11.P11KeyStore$AliasInfo)
static synthetic java.security.cert.X509Certificate[] access$800 (sun.security.pkcs11.P11KeyStore$AliasInfo)
static synthetic java.security.cert.X509Certificate access$900 (sun.security.pkcs11.P11KeyStore$AliasInfo)
static synthetic java.lang.String access$1100 (sun.security.pkcs11.P11KeyStore$AliasInfo)
static synthetic boolean access$1302 (sun.security.pkcs11.P11KeyStore$AliasInfo, boolean)
static synthetic java.security.cert.X509Certificate[] access$802 (sun.security.pkcs11.P11KeyStore$AliasInfo, java.security.cert.X509Certificate[])
static synthetic boolean access$1300 (sun.security.pkcs11.P11KeyStore$AliasInfo)
static synthetic boolean access$1402 (sun.security.pkcs11.P11KeyStore$AliasInfo, boolean)
static synthetic boolean access$1400 (sun.security.pkcs11.P11KeyStore$AliasInfo)
static synthetic sun.security.pkcs11.wrapper.CK_ATTRIBUTE access$402 (sun.security.pkcs11.P11KeyStore$AliasInfo, sun.security.pkcs11.wrapper.CK_ATTRIBUTE)
}
sun/security/pkcs11/P11KeyStore$PasswordCallbackHandler.class
P11KeyStore.java
package sun.security.pkcs11
sun.security.pkcs11.P11KeyStore$PasswordCallbackHandler extends java.lang.Object implements javax.security.auth.callback.CallbackHandler {
private char[] password
private void <init> (char[])
public void handle (javax.security.auth.callback.Callback[]) throws java.io.IOException javax.security.auth.callback.UnsupportedCallbackException
protected void finalize () throws java.lang.Throwable
synthetic void <init> (char[], sun.security.pkcs11.P11KeyStore$1)
}
sun/security/pkcs11/P11KeyStore$THandle.class
P11KeyStore.java
package sun.security.pkcs11
sun.security.pkcs11.P11KeyStore$THandle extends java.lang.Object {
private final long handle
private final sun.security.pkcs11.wrapper.CK_ATTRIBUTE type
private void <init> (long, sun.security.pkcs11.wrapper.CK_ATTRIBUTE)
static synthetic sun.security.pkcs11.wrapper.CK_ATTRIBUTE access$600 (sun.security.pkcs11.P11KeyStore$THandle)
static synthetic long access$700 (sun.security.pkcs11.P11KeyStore$THandle)
synthetic void <init> (long, sun.security.pkcs11.wrapper.CK_ATTRIBUTE, sun.security.pkcs11.P11KeyStore$1)
}
sun/security/pkcs11/P11KeyStore.class
P11KeyStore.java
package sun.security.pkcs11
final sun.security.pkcs11.P11KeyStore extends java.security.KeyStoreSpi {
private static final sun.security.pkcs11.wrapper.CK_ATTRIBUTE ATTR_CLASS_CERT
private static final sun.security.pkcs11.wrapper.CK_ATTRIBUTE ATTR_CLASS_PKEY
private static final sun.security.pkcs11.wrapper.CK_ATTRIBUTE ATTR_CLASS_SKEY
private static final sun.security.pkcs11.wrapper.CK_ATTRIBUTE ATTR_X509_CERT_TYPE
private static final sun.security.pkcs11.wrapper.CK_ATTRIBUTE ATTR_TOKEN_TRUE
private static sun.security.pkcs11.wrapper.CK_ATTRIBUTE ATTR_SKEY_TOKEN_TRUE
private static final sun.security.pkcs11.wrapper.CK_ATTRIBUTE ATTR_TRUSTED_TRUE
private static final sun.security.pkcs11.wrapper.CK_ATTRIBUTE ATTR_PRIVATE_TRUE
private static final long NO_HANDLE
private static final long FINDOBJECTS_MAX
private static final String ALIAS_SEP
private static final boolean NSS_TEST
private static final sun.security.util.Debug debug
private static boolean CKA_TRUSTED_SUPPORTED
private final sun.security.pkcs11.Token token
private boolean writeDisabled
private java.util.HashMap aliasMap
private final boolean useSecmodTrust
private sun.security.pkcs11.Secmod$TrustType nssTrustType
private static final long[] LONG0
void <init> (sun.security.pkcs11.Token)
public synchronized java.security.Key engineGetKey (java.lang.String, char[]) throws java.security.NoSuchAlgorithmException java.security.UnrecoverableKeyException
public synchronized java.security.cert.Certificate[] engineGetCertificateChain (java.lang.String)
public synchronized java.security.cert.Certificate engineGetCertificate (java.lang.String)
public java.util.Date engineGetCreationDate (java.lang.String)
public synchronized void engineSetKeyEntry (java.lang.String, java.security.Key, char[], java.security.cert.Certificate[]) throws java.security.KeyStoreException
public void engineSetKeyEntry (java.lang.String, byte[], java.security.cert.Certificate[]) throws java.security.KeyStoreException
public synchronized void engineSetCertificateEntry (java.lang.String, java.security.cert.Certificate) throws java.security.KeyStoreException
public synchronized void engineDeleteEntry (java.lang.String) throws java.security.KeyStoreException
private boolean deleteEntry (java.lang.String) throws java.security.KeyStoreException
public synchronized java.util.Enumeration engineAliases ()
public synchronized boolean engineContainsAlias (java.lang.String)
public synchronized int engineSize ()
public synchronized boolean engineIsKeyEntry (java.lang.String)
public synchronized boolean engineIsCertificateEntry (java.lang.String)
public synchronized java.lang.String engineGetCertificateAlias (java.security.cert.Certificate)
public synchronized void engineStore (java.io.OutputStream, char[]) throws java.io.IOException java.security.NoSuchAlgorithmException java.security.cert.CertificateException
public synchronized void engineStore (java.security.KeyStore$LoadStoreParameter) throws java.io.IOException java.security.NoSuchAlgorithmException java.security.cert.CertificateException
public synchronized void engineLoad (java.io.InputStream, char[]) throws java.io.IOException java.security.NoSuchAlgorithmException java.security.cert.CertificateException
public synchronized void engineLoad (java.security.KeyStore$LoadStoreParameter) throws java.io.IOException java.security.NoSuchAlgorithmException java.security.cert.CertificateException
private void login (javax.security.auth.callback.CallbackHandler) throws javax.security.auth.login.LoginException
public synchronized java.security.KeyStore$Entry engineGetEntry (java.lang.String, java.security.KeyStore$ProtectionParameter) throws java.security.KeyStoreException java.security.NoSuchAlgorithmException java.security.UnrecoverableEntryException
public synchronized void engineSetEntry (java.lang.String, java.security.KeyStore$Entry, java.security.KeyStore$ProtectionParameter) throws java.security.KeyStoreException
public synchronized boolean engineEntryInstanceOf (java.lang.String, java.lang.Class)
private java.security.cert.X509Certificate loadCert (sun.security.pkcs11.Session, long) throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.cert.CertificateException
private java.security.cert.X509Certificate[] loadChain (sun.security.pkcs11.Session, java.security.cert.X509Certificate) throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.cert.CertificateException
private javax.crypto.SecretKey loadSkey (sun.security.pkcs11.Session, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
private java.security.PrivateKey loadPkey (sun.security.pkcs11.Session, long) throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.KeyStoreException
private void updatePkey (java.lang.String, byte[], java.security.cert.X509Certificate[], boolean) throws java.security.KeyStoreException java.security.cert.CertificateException sun.security.pkcs11.wrapper.PKCS11Exception
private void updateP11Pkey (java.lang.String, sun.security.pkcs11.wrapper.CK_ATTRIBUTE, sun.security.pkcs11.P11Key) throws sun.security.pkcs11.wrapper.PKCS11Exception
private void storeCert (java.lang.String, java.security.cert.X509Certificate) throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.cert.CertificateException
private void storeChain (java.lang.String, java.security.cert.X509Certificate[]) throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.cert.CertificateException
private void storeCaCerts (java.security.cert.X509Certificate[], int) throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.cert.CertificateException
private void storeSkey (java.lang.String, java.security.KeyStore$SecretKeyEntry) throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.KeyStoreException
private static sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] addAttribute (sun.security.pkcs11.wrapper.CK_ATTRIBUTE[], sun.security.pkcs11.wrapper.CK_ATTRIBUTE)
private void storePkey (java.lang.String, java.security.KeyStore$PrivateKeyEntry) throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.cert.CertificateException java.security.KeyStoreException
private sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] getRsaPrivKeyAttrs (java.lang.String, java.security.interfaces.RSAPrivateKey, javax.security.auth.x500.X500Principal) throws sun.security.pkcs11.wrapper.PKCS11Exception
private sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] getIdAttributes (java.security.PrivateKey, java.security.PublicKey, boolean, boolean)
private boolean destroyCert (byte[]) throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.KeyStoreException
private boolean destroyChain (byte[]) throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.cert.CertificateException java.security.KeyStoreException
private boolean destroySkey (java.lang.String) throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.KeyStoreException
private boolean destroyPkey (byte[]) throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.KeyStoreException
private java.lang.String getID (java.lang.String, java.security.cert.X509Certificate)
private static java.lang.String getID (byte[])
private sun.security.pkcs11.P11KeyStore$THandle getTokenObject (sun.security.pkcs11.Session, sun.security.pkcs11.wrapper.CK_ATTRIBUTE, byte[], java.lang.String) throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.KeyStoreException
private boolean mapLabels () throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.cert.CertificateException java.security.KeyStoreException
private java.util.ArrayList mapPrivateKeys (java.util.ArrayList, java.util.HashMap) throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.cert.CertificateException
private boolean mapCerts (java.util.ArrayList, java.util.HashMap) throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.cert.CertificateException
private boolean mapTrustedCert (java.lang.String, sun.security.pkcs11.P11KeyStore$AliasInfo, java.util.HashSet)
private void mapSecretKeys (java.util.HashMap) throws java.security.KeyStoreException
private void dumpTokenMap ()
private void checkWrite () throws java.security.KeyStoreException
private static long[] findObjects (sun.security.pkcs11.Session, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
static synthetic sun.security.pkcs11.wrapper.CK_ATTRIBUTE access$000 ()
static synthetic sun.security.pkcs11.wrapper.CK_ATTRIBUTE access$100 ()
static synthetic sun.security.pkcs11.wrapper.CK_ATTRIBUTE access$200 ()
static synthetic java.lang.String access$300 (byte[])
static void <clinit> ()
}
sun/security/pkcs11/P11Mac.class
P11Mac.java
package sun.security.pkcs11
final sun.security.pkcs11.P11Mac extends javax.crypto.MacSpi {
private static final int S_UNINIT
private static final int S_RESET
private static final int S_UPDATE
private static final int S_DOFINAL
private final sun.security.pkcs11.Token token
private final String algorithm
private final long mechanism
private final sun.security.pkcs11.wrapper.CK_MECHANISM ckMechanism
private final int macLength
private sun.security.pkcs11.P11Key p11Key
private sun.security.pkcs11.Session session
private int state
private byte[] oneByte
void <init> (sun.security.pkcs11.Token, java.lang.String, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
private void ensureInitialized () throws sun.security.pkcs11.wrapper.PKCS11Exception
private void cancelOperation ()
private void initialize () throws sun.security.pkcs11.wrapper.PKCS11Exception
protected int engineGetMacLength ()
protected void engineReset ()
protected void engineInit (java.security.Key, java.security.spec.AlgorithmParameterSpec) throws java.security.InvalidKeyException java.security.InvalidAlgorithmParameterException
protected byte[] engineDoFinal ()
protected void engineUpdate (byte)
protected void engineUpdate (byte[], int, int)
protected void engineUpdate (java.nio.ByteBuffer)
}
sun/security/pkcs11/P11RSACipher.class
P11RSACipher.java
package sun.security.pkcs11
final sun.security.pkcs11.P11RSACipher extends javax.crypto.CipherSpi {
private static final int PKCS1_MIN_PADDING_LENGTH
private static final byte[] B0
private static final int MODE_ENCRYPT
private static final int MODE_DECRYPT
private static final int MODE_SIGN
private static final int MODE_VERIFY
private static final int PAD_NONE
private static final int PAD_PKCS1
private final sun.security.pkcs11.Token token
private final String algorithm
private final long mechanism
private sun.security.pkcs11.Session session
private int mode
private int padType
private byte[] buffer
private int bufOfs
private sun.security.pkcs11.P11Key p11Key
private boolean initialized
private int maxInputSize
private int outputSize
private java.security.spec.AlgorithmParameterSpec spec
private java.security.SecureRandom random
void <init> (sun.security.pkcs11.Token, java.lang.String, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
protected void engineSetMode (java.lang.String) throws java.security.NoSuchAlgorithmException
protected void engineSetPadding (java.lang.String) throws javax.crypto.NoSuchPaddingException
protected int engineGetBlockSize ()
protected int engineGetOutputSize (int)
protected byte[] engineGetIV ()
protected java.security.AlgorithmParameters engineGetParameters ()
protected void engineInit (int, java.security.Key, java.security.SecureRandom) throws java.security.InvalidKeyException
protected void engineInit (int, java.security.Key, java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom) throws java.security.InvalidKeyException java.security.InvalidAlgorithmParameterException
protected void engineInit (int, java.security.Key, java.security.AlgorithmParameters, java.security.SecureRandom) throws java.security.InvalidKeyException java.security.InvalidAlgorithmParameterException
private void implInit (int, java.security.Key) throws java.security.InvalidKeyException
private void cancelOperation ()
private void ensureInitialized () throws sun.security.pkcs11.wrapper.PKCS11Exception
private void initialize () throws sun.security.pkcs11.wrapper.PKCS11Exception
private void implUpdate (byte[], int, int)
private int implDoFinal (byte[], int, int) throws javax.crypto.BadPaddingException javax.crypto.IllegalBlockSizeException
protected byte[] engineUpdate (byte[], int, int)
protected int engineUpdate (byte[], int, int, byte[], int) throws javax.crypto.ShortBufferException
protected byte[] engineDoFinal (byte[], int, int) throws javax.crypto.IllegalBlockSizeException javax.crypto.BadPaddingException
protected int engineDoFinal (byte[], int, int, byte[], int) throws javax.crypto.ShortBufferException javax.crypto.IllegalBlockSizeException javax.crypto.BadPaddingException
private byte[] doFinal () throws javax.crypto.BadPaddingException javax.crypto.IllegalBlockSizeException
protected byte[] engineWrap (java.security.Key) throws java.security.InvalidKeyException javax.crypto.IllegalBlockSizeException
protected java.security.Key engineUnwrap (byte[], java.lang.String, int) throws java.security.InvalidKeyException java.security.NoSuchAlgorithmException
protected int engineGetKeySize (java.security.Key) throws java.security.InvalidKeyException
private static javax.crypto.SecretKey polishPreMasterSecretKey (sun.security.pkcs11.Token, sun.security.pkcs11.Session, java.lang.Exception, javax.crypto.SecretKey, int, int)
static void <clinit> ()
}
sun/security/pkcs11/P11RSAKeyFactory.class
P11RSAKeyFactory.java
package sun.security.pkcs11
final sun.security.pkcs11.P11RSAKeyFactory extends sun.security.pkcs11.P11KeyFactory {
void <init> (sun.security.pkcs11.Token, java.lang.String)
java.security.PublicKey implTranslatePublicKey (java.security.PublicKey) throws java.security.InvalidKeyException
java.security.PrivateKey implTranslatePrivateKey (java.security.PrivateKey) throws java.security.InvalidKeyException
protected java.security.PublicKey engineGeneratePublic (java.security.spec.KeySpec) throws java.security.spec.InvalidKeySpecException
protected java.security.PrivateKey engineGeneratePrivate (java.security.spec.KeySpec) throws java.security.spec.InvalidKeySpecException
private java.security.PublicKey generatePublic (java.math.BigInteger, java.math.BigInteger) throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.InvalidKeyException
private java.security.PrivateKey generatePrivate (java.math.BigInteger, java.math.BigInteger) throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.InvalidKeyException
private java.security.PrivateKey generatePrivate (java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger) throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.InvalidKeyException
java.security.spec.KeySpec implGetPublicKeySpec (sun.security.pkcs11.P11Key, java.lang.Class, sun.security.pkcs11.Session[]) throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.spec.InvalidKeySpecException
java.security.spec.KeySpec implGetPrivateKeySpec (sun.security.pkcs11.P11Key, java.lang.Class, sun.security.pkcs11.Session[]) throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.spec.InvalidKeySpecException
java.security.KeyFactory implGetSoftwareFactory () throws java.security.GeneralSecurityException
}
sun/security/pkcs11/P11SecretKeyFactory.class
P11SecretKeyFactory.java
package sun.security.pkcs11
final sun.security.pkcs11.P11SecretKeyFactory extends javax.crypto.SecretKeyFactorySpi {
private final sun.security.pkcs11.Token token
private final String algorithm
private static final java.util.Map keyTypes
void <init> (sun.security.pkcs11.Token, java.lang.String)
private static void addKeyType (java.lang.String, long)
static long getKeyType (java.lang.String)
static sun.security.pkcs11.P11Key convertKey (sun.security.pkcs11.Token, java.security.Key, java.lang.String) throws java.security.InvalidKeyException
static sun.security.pkcs11.P11Key convertKey (sun.security.pkcs11.Token, java.security.Key, java.lang.String, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]) throws java.security.InvalidKeyException
static void fixDESParity (byte[], int)
private static sun.security.pkcs11.P11Key createKey (sun.security.pkcs11.Token, byte[], java.lang.String, long, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]) throws java.security.InvalidKeyException
protected javax.crypto.SecretKey engineGenerateSecret (java.security.spec.KeySpec) throws java.security.spec.InvalidKeySpecException
private byte[] getKeyBytes (javax.crypto.SecretKey) throws java.security.spec.InvalidKeySpecException
protected java.security.spec.KeySpec engineGetKeySpec (javax.crypto.SecretKey, java.lang.Class) throws java.security.spec.InvalidKeySpecException
protected javax.crypto.SecretKey engineTranslateKey (javax.crypto.SecretKey) throws java.security.InvalidKeyException
static void <clinit> ()
}
sun/security/pkcs11/P11SecureRandom.class
P11SecureRandom.java
package sun.security.pkcs11
final sun.security.pkcs11.P11SecureRandom extends java.security.SecureRandomSpi {
private static final long serialVersionUID
private final sun.security.pkcs11.Token token
private volatile java.security.SecureRandom mixRandom
private byte[] mixBuffer
private int buffered
private static final long MAX_IBUFFER_TIME
private static final int IBUFFER_SIZE
private transient byte[] iBuffer
private transient int ibuffered
private transient long lastRead
void <init> (sun.security.pkcs11.Token)
protected synchronized void engineSetSeed (byte[])
protected void engineNextBytes (byte[])
protected byte[] engineGenerateSeed (int)
private void mix (byte[])
private void implNextBytes (byte[])
private void readObject (java.io.ObjectInputStream) throws java.io.IOException java.lang.ClassNotFoundException
}
sun/security/pkcs11/P11Signature.class
P11Signature.java
package sun.security.pkcs11
final sun.security.pkcs11.P11Signature extends java.security.SignatureSpi {
private final sun.security.pkcs11.Token token
private final String algorithm
private final String keyAlgorithm
private final long mechanism
private final sun.security.util.ObjectIdentifier digestOID
private final int type
private sun.security.pkcs11.P11Key p11Key
private final java.security.MessageDigest md
private sun.security.pkcs11.Session session
private int mode
private boolean initialized
private final byte[] buffer
private int bytesProcessed
private static final int M_SIGN
private static final int M_VERIFY
private static final int T_DIGEST
private static final int T_UPDATE
private static final int T_RAW
private static final int RAW_ECDSA_MAX
void <init> (sun.security.pkcs11.Token, java.lang.String, long) throws java.security.NoSuchAlgorithmException sun.security.pkcs11.wrapper.PKCS11Exception
private void ensureInitialized ()
private void cancelOperation ()
private void initialize ()
private void checkKeySize (java.lang.String, java.security.Key) throws java.security.InvalidKeyException
private void checkRSAKeyLength (int) throws java.security.InvalidKeyException
protected void engineInitVerify (java.security.PublicKey) throws java.security.InvalidKeyException
protected void engineInitSign (java.security.PrivateKey) throws java.security.InvalidKeyException
protected void engineUpdate (byte) throws java.security.SignatureException
protected void engineUpdate (byte[], int, int) throws java.security.SignatureException
protected void engineUpdate (java.nio.ByteBuffer)
protected byte[] engineSign () throws java.security.SignatureException
protected boolean engineVerify (byte[]) throws java.security.SignatureException
private byte[] pkcs1Pad (byte[])
private byte[] encodeSignature (byte[]) throws java.security.SignatureException
private static byte[] dsaToASN1 (byte[])
private static byte[] asn1ToDSA (byte[]) throws java.security.SignatureException
private byte[] asn1ToECDSA (byte[]) throws java.security.SignatureException
private static byte[] toByteArray (java.math.BigInteger, int)
protected void engineSetParameter (java.lang.String, java.lang.Object) throws java.security.InvalidParameterException
protected java.lang.Object engineGetParameter (java.lang.String) throws java.security.InvalidParameterException
}
sun/security/pkcs11/P11TlsKeyMaterialGenerator.class
P11TlsKeyMaterialGenerator.java
package sun.security.pkcs11
public final sun.security.pkcs11.P11TlsKeyMaterialGenerator extends javax.crypto.KeyGeneratorSpi {
private static final String MSG
private final sun.security.pkcs11.Token token
private final String algorithm
private long mechanism
private sun.security.internal.spec.TlsKeyMaterialParameterSpec spec
private sun.security.pkcs11.P11Key p11Key
private int version
void <init> (sun.security.pkcs11.Token, java.lang.String, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
protected void engineInit (java.security.SecureRandom)
protected void engineInit (java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom) throws java.security.InvalidAlgorithmParameterException
protected void engineInit (int, java.security.SecureRandom)
protected javax.crypto.SecretKey engineGenerateKey ()
}
sun/security/pkcs11/P11TlsMasterSecretGenerator.class
P11TlsMasterSecretGenerator.java
package sun.security.pkcs11
public final sun.security.pkcs11.P11TlsMasterSecretGenerator extends javax.crypto.KeyGeneratorSpi {
private static final String MSG
private final sun.security.pkcs11.Token token
private final String algorithm
private long mechanism
private sun.security.internal.spec.TlsMasterSecretParameterSpec spec
private sun.security.pkcs11.P11Key p11Key
int version
void <init> (sun.security.pkcs11.Token, java.lang.String, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
protected void engineInit (java.security.SecureRandom)
protected void engineInit (java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom) throws java.security.InvalidAlgorithmParameterException
protected void engineInit (int, java.security.SecureRandom)
protected javax.crypto.SecretKey engineGenerateKey ()
}
sun/security/pkcs11/P11TlsPrfGenerator$1.class
P11TlsPrfGenerator.java
package sun.security.pkcs11
final sun.security.pkcs11.P11TlsPrfGenerator$1 extends java.lang.Object implements javax.crypto.SecretKey {
void <init> ()
public byte[] getEncoded ()
public java.lang.String getFormat ()
public java.lang.String getAlgorithm ()
}
sun/security/pkcs11/P11TlsPrfGenerator.class
P11TlsPrfGenerator.java
package sun.security.pkcs11
final sun.security.pkcs11.P11TlsPrfGenerator extends javax.crypto.KeyGeneratorSpi {
private static final String MSG
private final sun.security.pkcs11.Token token
private final String algorithm
private final long mechanism
private sun.security.internal.spec.TlsPrfParameterSpec spec
private sun.security.pkcs11.P11Key p11Key
private static final javax.crypto.SecretKey NULL_KEY
void <init> (sun.security.pkcs11.Token, java.lang.String, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
protected void engineInit (java.security.SecureRandom)
protected void engineInit (java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom) throws java.security.InvalidAlgorithmParameterException
protected void engineInit (int, java.security.SecureRandom)
protected javax.crypto.SecretKey engineGenerateKey ()
static void <clinit> ()
}
sun/security/pkcs11/P11TlsRsaPremasterSecretGenerator.class
P11TlsRsaPremasterSecretGenerator.java
package sun.security.pkcs11
final sun.security.pkcs11.P11TlsRsaPremasterSecretGenerator extends javax.crypto.KeyGeneratorSpi {
private static final String MSG
private final sun.security.pkcs11.Token token
private final String algorithm
private long mechanism
private sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec spec
void <init> (sun.security.pkcs11.Token, java.lang.String, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
protected void engineInit (java.security.SecureRandom)
protected void engineInit (java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom) throws java.security.InvalidAlgorithmParameterException
protected void engineInit (int, java.security.SecureRandom)
protected javax.crypto.SecretKey engineGenerateKey ()
}
sun/security/pkcs11/P11Util.class
P11Util.java
package sun.security.pkcs11
public final sun.security.pkcs11.P11Util extends java.lang.Object {
private static Object LOCK
private static volatile java.security.Provider sun
private static volatile java.security.Provider sunRsaSign
private static volatile java.security.Provider sunJce
private static final char[] hexDigits
private void <init> ()
static java.security.Provider getSunProvider ()
static java.security.Provider getSunRsaSignProvider ()
static java.security.Provider getSunJceProvider ()
private static java.security.Provider getProvider (java.security.Provider, java.lang.String, java.lang.String)
static byte[] convert (byte[], int, int)
static byte[] subarray (byte[], int, int)
static byte[] concat (byte[], byte[])
static long[] concat (long[], long[])
public static byte[] getMagnitude (java.math.BigInteger)
static byte[] getBytesUTF8 (java.lang.String)
static byte[] sha1 (byte[])
static java.lang.String toString (byte[])
static void <clinit> ()
}
sun/security/pkcs11/Secmod$1.class
Secmod.java
package sun.security.pkcs11
synthetic sun.security.pkcs11.Secmod$1 extends java.lang.Object {
static final synthetic int[] $SwitchMap$sun$security$pkcs11$Secmod$ModuleType
static final synthetic int[] $SwitchMap$sun$security$pkcs11$Secmod$TrustType
static void <clinit> ()
}
sun/security/pkcs11/Secmod$Bytes.class
Secmod.java
package sun.security.pkcs11
sun.security.pkcs11.Secmod$Bytes extends java.lang.Object {
final byte[] b
void <init> (byte[])
public int hashCode ()
public boolean equals (java.lang.Object)
}
sun/security/pkcs11/Secmod$DbMode.class
Secmod.java
package sun.security.pkcs11
public final enum sun.security.pkcs11.Secmod$DbMode extends java.lang.Enum {
public static final enum sun.security.pkcs11.Secmod$DbMode READ_WRITE
public static final enum sun.security.pkcs11.Secmod$DbMode READ_ONLY
public static final enum sun.security.pkcs11.Secmod$DbMode NO_DB
final String functionName
private static final synthetic sun.security.pkcs11.Secmod$DbMode[] $VALUES
public static sun.security.pkcs11.Secmod$DbMode[] values ()
public static sun.security.pkcs11.Secmod$DbMode valueOf (java.lang.String)
private void <init> (java.lang.String, int, java.lang.String)
static void <clinit> ()
}
sun/security/pkcs11/Secmod$KeyStoreLoadParameter.class
Secmod.java
package sun.security.pkcs11
public final sun.security.pkcs11.Secmod$KeyStoreLoadParameter extends java.lang.Object implements java.security.KeyStore$LoadStoreParameter {
final sun.security.pkcs11.Secmod$TrustType trustType
final java.security.KeyStore$ProtectionParameter protection
public void <init> (sun.security.pkcs11.Secmod$TrustType, char[])
public void <init> (sun.security.pkcs11.Secmod$TrustType, java.security.KeyStore$ProtectionParameter)
public java.security.KeyStore$ProtectionParameter getProtectionParameter ()
public sun.security.pkcs11.Secmod$TrustType getTrustType ()
}
sun/security/pkcs11/Secmod$Module.class
Secmod.java
package sun.security.pkcs11
public final sun.security.pkcs11.Secmod$Module extends java.lang.Object {
final String libraryName
final String commonName
final int slot
final sun.security.pkcs11.Secmod$ModuleType type
private String config
private sun.security.pkcs11.SunPKCS11 provider
private java.util.Map trust
void <init> (java.lang.String, java.lang.String, java.lang.String, boolean, int)
private void initConfiguration ()
public synchronized java.lang.String getConfiguration ()
public synchronized void setConfiguration (java.lang.String)
public java.lang.String getLibraryName ()
public sun.security.pkcs11.Secmod$ModuleType getType ()
public synchronized java.security.Provider getProvider ()
synchronized boolean hasInitializedProvider ()
void setProvider (sun.security.pkcs11.SunPKCS11)
private sun.security.pkcs11.SunPKCS11 newProvider ()
synchronized void setTrust (sun.security.pkcs11.Token, java.security.cert.X509Certificate)
sun.security.pkcs11.Secmod$TrustAttributes getTrust (sun.security.pkcs11.Secmod$Bytes)
public java.lang.String toString ()
}
sun/security/pkcs11/Secmod$ModuleType.class
Secmod.java
package sun.security.pkcs11
public final enum sun.security.pkcs11.Secmod$ModuleType extends java.lang.Enum {
public static final enum sun.security.pkcs11.Secmod$ModuleType CRYPTO
public static final enum sun.security.pkcs11.Secmod$ModuleType KEYSTORE
public static final enum sun.security.pkcs11.Secmod$ModuleType FIPS
public static final enum sun.security.pkcs11.Secmod$ModuleType TRUSTANCHOR
public static final enum sun.security.pkcs11.Secmod$ModuleType EXTERNAL
private static final synthetic sun.security.pkcs11.Secmod$ModuleType[] $VALUES
public static sun.security.pkcs11.Secmod$ModuleType[] values ()
public static sun.security.pkcs11.Secmod$ModuleType valueOf (java.lang.String)
private void <init> (java.lang.String, int)
static void <clinit> ()
}
sun/security/pkcs11/Secmod$TrustAttributes.class
Secmod.java
package sun.security.pkcs11
sun.security.pkcs11.Secmod$TrustAttributes extends java.lang.Object {
final long handle
final long clientAuth
final long serverAuth
final long codeSigning
final long emailProtection
final byte[] shaHash
void <init> (sun.security.pkcs11.Token, java.security.cert.X509Certificate, sun.security.pkcs11.Secmod$Bytes, long)
void <init> (sun.security.pkcs11.Token, sun.security.pkcs11.Session, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.Secmod$Bytes getHash ()
boolean isTrusted (sun.security.pkcs11.Secmod$TrustType)
private boolean isTrusted (long)
}
sun/security/pkcs11/Secmod$TrustType.class
Secmod.java
package sun.security.pkcs11
public final enum sun.security.pkcs11.Secmod$TrustType extends java.lang.Enum {
public static final enum sun.security.pkcs11.Secmod$TrustType ALL
public static final enum sun.security.pkcs11.Secmod$TrustType CLIENT_AUTH
public static final enum sun.security.pkcs11.Secmod$TrustType SERVER_AUTH
public static final enum sun.security.pkcs11.Secmod$TrustType CODE_SIGNING
public static final enum sun.security.pkcs11.Secmod$TrustType EMAIL_PROTECTION
private static final synthetic sun.security.pkcs11.Secmod$TrustType[] $VALUES
public static sun.security.pkcs11.Secmod$TrustType[] values ()
public static sun.security.pkcs11.Secmod$TrustType valueOf (java.lang.String)
private void <init> (java.lang.String, int)
static void <clinit> ()
}
sun/security/pkcs11/Secmod.class
Secmod.java
package sun.security.pkcs11
public final sun.security.pkcs11.Secmod extends java.lang.Object {
private static final boolean DEBUG
private static final sun.security.pkcs11.Secmod INSTANCE
private static final String NSS_LIB_NAME
private static final String SOFTTOKEN_LIB_NAME
private static final String TRUST_LIB_NAME
private long nssHandle
private boolean supported
private java.util.List modules
private String configDir
private String nssLibDir
static final String TEMPLATE_EXTERNAL
static final String TEMPLATE_TRUSTANCHOR
static final String TEMPLATE_CRYPTO
static final String TEMPLATE_KEYSTORE
static final String TEMPLATE_FIPS
private void <init> ()
public static sun.security.pkcs11.Secmod getInstance ()
private boolean isLoaded ()
private void fetchVersions ()
public synchronized boolean isInitialized () throws java.io.IOException
java.lang.String getConfigDir ()
java.lang.String getLibDir ()
public void initialize (java.lang.String, java.lang.String) throws java.io.IOException
public void initialize (sun.security.pkcs11.Secmod$DbMode, java.lang.String, java.lang.String) throws java.io.IOException
public synchronized void initialize (sun.security.pkcs11.Secmod$DbMode, java.lang.String, java.lang.String, boolean) throws java.io.IOException
public synchronized java.util.List getModules ()
private static byte[] getDigest (java.security.cert.X509Certificate, java.lang.String)
boolean isTrusted (java.security.cert.X509Certificate, sun.security.pkcs11.Secmod$TrustType)
private sun.security.pkcs11.Secmod$TrustAttributes getModuleTrust (sun.security.pkcs11.Secmod$ModuleType, sun.security.pkcs11.Secmod$Bytes)
public sun.security.pkcs11.Secmod$Module getModule (sun.security.pkcs11.Secmod$ModuleType)
private static java.util.Map getTrust (sun.security.pkcs11.SunPKCS11) throws sun.security.pkcs11.wrapper.PKCS11Exception
private static native long nssGetLibraryHandle (java.lang.String)
private static native long nssLoadLibrary (java.lang.String) throws java.io.IOException
private static native boolean nssVersionCheck (long, java.lang.String)
private static native boolean nssInitialize (java.lang.String, long, java.lang.String, boolean)
private static native java.lang.Object nssGetModuleList (long, java.lang.String)
static synthetic byte[] access$000 (java.security.cert.X509Certificate, java.lang.String)
static synthetic java.util.Map access$100 (sun.security.pkcs11.SunPKCS11) throws sun.security.pkcs11.wrapper.PKCS11Exception
static void <clinit> ()
}
sun/security/pkcs11/Session.class
Session.java
package sun.security.pkcs11
final sun.security.pkcs11.Session extends java.lang.Object implements java.lang.Comparable {
private static final long MAX_IDLE_TIME
final sun.security.pkcs11.Token token
private final long id
private final java.util.concurrent.atomic.AtomicInteger createdObjects
private long lastAccess
private final sun.security.pkcs11.SessionRef sessionRef
void <init> (sun.security.pkcs11.Token, long)
public int compareTo (sun.security.pkcs11.Session)
boolean isLive (long)
long idInternal ()
long id ()
void addObject ()
void removeObject ()
boolean hasObjects ()
void close ()
public volatile synthetic int compareTo (java.lang.Object)
}
sun/security/pkcs11/SessionKeyRef.class
P11Key.java
package sun.security.pkcs11
final sun.security.pkcs11.SessionKeyRef extends java.lang.ref.PhantomReference implements java.lang.Comparable {
private static java.lang.ref.ReferenceQueue refQueue
private static java.util.Set refList
private long keyID
private sun.security.pkcs11.Session session
static java.lang.ref.ReferenceQueue referenceQueue ()
private static void drainRefQueueBounded ()
void <init> (sun.security.pkcs11.P11Key, long, sun.security.pkcs11.Session)
private void dispose ()
public int compareTo (sun.security.pkcs11.SessionKeyRef)
public volatile synthetic int compareTo (java.lang.Object)
static void <clinit> ()
}
sun/security/pkcs11/SessionManager$Pool.class
SessionManager.java
package sun.security.pkcs11
public final sun.security.pkcs11.SessionManager$Pool extends java.lang.Object {
private final sun.security.pkcs11.SessionManager mgr
private final java.util.concurrent.ConcurrentLinkedDeque pool
void <init> (sun.security.pkcs11.SessionManager)
boolean remove (sun.security.pkcs11.Session)
sun.security.pkcs11.Session poll ()
void release (sun.security.pkcs11.Session)
}
sun/security/pkcs11/SessionManager.class
SessionManager.java
package sun.security.pkcs11
final sun.security.pkcs11.SessionManager extends java.lang.Object {
private static final int DEFAULT_MAX_SESSIONS
private static final sun.security.util.Debug debug
private final sun.security.pkcs11.Token token
private final int maxSessions
private java.util.concurrent.atomic.AtomicInteger activeSessions
private final sun.security.pkcs11.SessionManager$Pool objSessions
private final sun.security.pkcs11.SessionManager$Pool opSessions
private int maxActiveSessions
private Object maxActiveSessionsLock
private final long openSessionFlags
void <init> (sun.security.pkcs11.Token)
boolean lowMaxSessions ()
sun.security.pkcs11.Session getObjSession () throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.Session getOpSession () throws sun.security.pkcs11.wrapper.PKCS11Exception
private sun.security.pkcs11.Session ensureValid (sun.security.pkcs11.Session)
sun.security.pkcs11.Session killSession (sun.security.pkcs11.Session)
sun.security.pkcs11.Session releaseSession (sun.security.pkcs11.Session)
void demoteObjSession (sun.security.pkcs11.Session)
private sun.security.pkcs11.Session openSession () throws sun.security.pkcs11.wrapper.PKCS11Exception
private void closeSession (sun.security.pkcs11.Session)
static synthetic void access$000 (sun.security.pkcs11.SessionManager, sun.security.pkcs11.Session)
static synthetic sun.security.util.Debug access$100 ()
static synthetic java.util.concurrent.atomic.AtomicInteger access$200 (sun.security.pkcs11.SessionManager)
static void <clinit> ()
}
sun/security/pkcs11/SessionRef.class
Session.java
package sun.security.pkcs11
final sun.security.pkcs11.SessionRef extends java.lang.ref.PhantomReference implements java.lang.Comparable {
private static java.lang.ref.ReferenceQueue refQueue
private static java.util.Set refList
private long id
private sun.security.pkcs11.Token token
static java.lang.ref.ReferenceQueue referenceQueue ()
static int totalCount ()
private static void drainRefQueueBounded ()
void <init> (sun.security.pkcs11.Session, long, sun.security.pkcs11.Token)
void dispose ()
public int compareTo (sun.security.pkcs11.SessionRef)
public volatile synthetic int compareTo (java.lang.Object)
static void <clinit> ()
}
sun/security/pkcs11/SunPKCS11$1.class
SunPKCS11.java
package sun.security.pkcs11
sun.security.pkcs11.SunPKCS11$1 extends java.lang.Object implements java.security.PrivilegedAction {
final synthetic sun.security.pkcs11.SunPKCS11 this$0
void <init> (sun.security.pkcs11.SunPKCS11)
public java.lang.Object run ()
}
sun/security/pkcs11/SunPKCS11$2.class
SunPKCS11.java
package sun.security.pkcs11
sun.security.pkcs11.SunPKCS11$2 extends java.lang.Object implements java.security.PrivilegedAction {
final synthetic java.util.Map val$supportedAlgs
final synthetic sun.security.pkcs11.Token val$token
final synthetic sun.security.pkcs11.SunPKCS11 this$0
void <init> (sun.security.pkcs11.SunPKCS11, java.util.Map, sun.security.pkcs11.Token)
public java.lang.Object run ()
}
sun/security/pkcs11/SunPKCS11$3.class
SunPKCS11.java
package sun.security.pkcs11
sun.security.pkcs11.SunPKCS11$3 extends java.lang.Object implements java.security.PrivilegedExceptionAction {
final synthetic sun.security.pkcs11.SunPKCS11 this$0
void <init> (sun.security.pkcs11.SunPKCS11)
public javax.security.auth.callback.CallbackHandler run () throws java.lang.Exception
public volatile synthetic java.lang.Object run () throws java.lang.Exception
}
sun/security/pkcs11/SunPKCS11$Descriptor.class
SunPKCS11.java
package sun.security.pkcs11
final sun.security.pkcs11.SunPKCS11$Descriptor extends java.lang.Object {
final String type
final String algorithm
final String className
final String[] aliases
final int[] mechanisms
private void <init> (java.lang.String, java.lang.String, java.lang.String, java.lang.String[], int[])
private sun.security.pkcs11.SunPKCS11$P11Service service (sun.security.pkcs11.Token, int)
public java.lang.String toString ()
synthetic void <init> (java.lang.String, java.lang.String, java.lang.String, java.lang.String[], int[], sun.security.pkcs11.SunPKCS11$1)
static synthetic sun.security.pkcs11.SunPKCS11$P11Service access$300 (sun.security.pkcs11.SunPKCS11$Descriptor, sun.security.pkcs11.Token, int)
}
sun/security/pkcs11/SunPKCS11$P11Service.class
SunPKCS11.java
package sun.security.pkcs11
final sun.security.pkcs11.SunPKCS11$P11Service extends java.security.Provider$Service {
private final sun.security.pkcs11.Token token
private final long mechanism
void <init> (sun.security.pkcs11.Token, java.lang.String, java.lang.String, java.lang.String, java.lang.String[], long)
private static java.util.List toList (java.lang.String[])
public java.lang.Object newInstance (java.lang.Object) throws java.security.NoSuchAlgorithmException
public java.lang.Object newInstance0 (java.lang.Object) throws sun.security.pkcs11.wrapper.PKCS11Exception java.security.NoSuchAlgorithmException
public boolean supportsParameter (java.lang.Object)
private boolean isLocalKey (java.security.Key)
public java.lang.String toString ()
}
sun/security/pkcs11/SunPKCS11$SunPKCS11Rep.class
SunPKCS11.java
package sun.security.pkcs11
sun.security.pkcs11.SunPKCS11$SunPKCS11Rep extends java.lang.Object implements java.io.Serializable {
static final long serialVersionUID
private final String providerName
private final String configName
void <init> (sun.security.pkcs11.SunPKCS11) throws java.io.NotSerializableException
private java.lang.Object readResolve () throws java.io.ObjectStreamException
}
sun/security/pkcs11/SunPKCS11$TokenPoller.class
SunPKCS11.java
package sun.security.pkcs11
sun.security.pkcs11.SunPKCS11$TokenPoller extends java.lang.Object implements java.lang.Runnable {
private final sun.security.pkcs11.SunPKCS11 provider
private volatile boolean enabled
private void <init> (sun.security.pkcs11.SunPKCS11)
public void run ()
void disable ()
synthetic void <init> (sun.security.pkcs11.SunPKCS11, sun.security.pkcs11.SunPKCS11$1)
}
sun/security/pkcs11/SunPKCS11.class
SunPKCS11.java
package sun.security.pkcs11
public final sun.security.pkcs11.SunPKCS11 extends java.security.AuthProvider {
private static final long serialVersionUID
static final sun.security.util.Debug debug
private static int dummyConfigId
final sun.security.pkcs11.wrapper.PKCS11 p11
private final String configName
final sun.security.pkcs11.Config config
final long slotID
private javax.security.auth.callback.CallbackHandler pHandler
private final Object LOCK_HANDLER
final boolean removable
final sun.security.pkcs11.Secmod$Module nssModule
final boolean nssUseSecmodTrust
private volatile sun.security.pkcs11.Token token
private sun.security.pkcs11.SunPKCS11$TokenPoller poller
private static final java.util.Map descriptors
private static final String MD
private static final String SIG
private static final String KPG
private static final String KG
private static final String AGP
private static final String KF
private static final String SKF
private static final String CIP
private static final String MAC
private static final String KA
private static final String KS
private static final String SR
sun.security.pkcs11.Token getToken ()
public void <init> ()
public void <init> (java.lang.String)
public void <init> (java.io.InputStream)
private static java.lang.Object checkNull (java.lang.Object)
private static synchronized java.lang.String getDummyConfigName ()
public void <init> (java.lang.String, java.io.InputStream)
private static java.lang.String toString (long[])
public boolean equals (java.lang.Object)
public int hashCode ()
private static transient java.lang.String[] s (java.lang.String[])
private static int[] m (long)
private static int[] m (long, long)
private static int[] m (long, long, long)
private static int[] m (long, long, long, long)
private static void d (java.lang.String, java.lang.String, java.lang.String, int[])
private static void d (java.lang.String, java.lang.String, java.lang.String, java.lang.String[], int[])
private static void register (sun.security.pkcs11.SunPKCS11$Descriptor)
private void createPoller ()
private void destroyPoller ()
private boolean hasValidToken ()
synchronized void uninitToken (sun.security.pkcs11.Token)
private void initToken (sun.security.pkcs11.wrapper.CK_SLOT_INFO) throws sun.security.pkcs11.wrapper.PKCS11Exception
public void login (javax.security.auth.Subject, javax.security.auth.callback.CallbackHandler) throws javax.security.auth.login.LoginException
public void logout () throws javax.security.auth.login.LoginException
public void setCallbackHandler (javax.security.auth.callback.CallbackHandler)
private javax.security.auth.callback.CallbackHandler getCallbackHandler (javax.security.auth.callback.CallbackHandler)
private java.lang.Object writeReplace () throws java.io.ObjectStreamException
static synthetic void access$100 (sun.security.pkcs11.SunPKCS11, sun.security.pkcs11.wrapper.CK_SLOT_INFO) throws sun.security.pkcs11.wrapper.PKCS11Exception
static synthetic void access$400 (sun.security.pkcs11.SunPKCS11, java.security.Provider$Service)
static synthetic void access$500 (sun.security.pkcs11.SunPKCS11, java.security.Provider$Service)
static synthetic java.lang.String[] access$600 (java.lang.String[])
static synthetic void access$700 (sun.security.pkcs11.SunPKCS11, java.security.Provider$Service)
static synthetic java.lang.String access$800 (sun.security.pkcs11.SunPKCS11)
static void <clinit> ()
}
sun/security/pkcs11/TemplateManager$KeyAndTemplate.class
TemplateManager.java
package sun.security.pkcs11
sun.security.pkcs11.TemplateManager$KeyAndTemplate extends java.lang.Object {
final sun.security.pkcs11.TemplateManager$TemplateKey key
final sun.security.pkcs11.TemplateManager$Template template
void <init> (sun.security.pkcs11.TemplateManager$TemplateKey, sun.security.pkcs11.TemplateManager$Template)
}
sun/security/pkcs11/TemplateManager$Template.class
TemplateManager.java
package sun.security.pkcs11
final sun.security.pkcs11.TemplateManager$Template extends java.lang.Object {
private static final sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] A0
private sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] attributes
void <init> ()
void <init> (sun.security.pkcs11.wrapper.CK_ATTRIBUTE[])
void add (sun.security.pkcs11.TemplateManager$Template)
sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] getAttributes (sun.security.pkcs11.wrapper.CK_ATTRIBUTE[])
private static sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] combine (sun.security.pkcs11.wrapper.CK_ATTRIBUTE[], sun.security.pkcs11.wrapper.CK_ATTRIBUTE[])
public java.lang.String toString ()
static void <clinit> ()
}
sun/security/pkcs11/TemplateManager$TemplateKey.class
TemplateManager.java
package sun.security.pkcs11
final sun.security.pkcs11.TemplateManager$TemplateKey extends java.lang.Object {
final String operation
final long keyType
final long keyAlgorithm
void <init> (java.lang.String, long, long)
public boolean equals (java.lang.Object)
public int hashCode ()
boolean appliesTo (sun.security.pkcs11.TemplateManager$TemplateKey)
public java.lang.String toString ()
}
sun/security/pkcs11/TemplateManager.class
TemplateManager.java
package sun.security.pkcs11
final sun.security.pkcs11.TemplateManager extends java.lang.Object {
private static final boolean DEBUG
static final String O_ANY
static final String O_IMPORT
static final String O_GENERATE
private final java.util.List primitiveTemplates
private final java.util.Map compositeTemplates
void <init> ()
void addTemplate (java.lang.String, long, long, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[])
private sun.security.pkcs11.TemplateManager$Template getTemplate (sun.security.pkcs11.TemplateManager$TemplateKey)
sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] getAttributes (java.lang.String, long, long, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[])
private sun.security.pkcs11.TemplateManager$Template buildCompositeTemplate (sun.security.pkcs11.TemplateManager$TemplateKey)
}
sun/security/pkcs11/Token$TokenRep.class
Token.java
package sun.security.pkcs11
sun.security.pkcs11.Token$TokenRep extends java.lang.Object implements java.io.Serializable {
private static final long serialVersionUID
private final byte[] tokenId
void <init> (sun.security.pkcs11.Token)
private java.lang.Object readResolve () throws java.io.ObjectStreamException
}
sun/security/pkcs11/Token.class
Token.java
package sun.security.pkcs11
sun.security.pkcs11.Token extends java.lang.Object implements java.io.Serializable {
private static final long serialVersionUID
private static final long CHECK_INTERVAL
final sun.security.pkcs11.SunPKCS11 provider
final sun.security.pkcs11.wrapper.PKCS11 p11
final sun.security.pkcs11.Config config
final sun.security.pkcs11.wrapper.CK_TOKEN_INFO tokenInfo
final sun.security.pkcs11.SessionManager sessionManager
private final sun.security.pkcs11.TemplateManager templateManager
final boolean explicitCancel
final sun.security.pkcs11.KeyCache secretCache
final sun.security.pkcs11.KeyCache privateCache
private volatile sun.security.pkcs11.P11KeyFactory rsaFactory
private volatile sun.security.pkcs11.P11KeyFactory dsaFactory
private volatile sun.security.pkcs11.P11KeyFactory dhFactory
private volatile sun.security.pkcs11.P11KeyFactory ecFactory
private final java.util.Map mechInfoMap
private volatile sun.security.pkcs11.P11SecureRandom secureRandom
private volatile sun.security.pkcs11.P11KeyStore keyStore
private final boolean removable
private volatile boolean valid
private long lastPresentCheck
private byte[] tokenId
private boolean writeProtected
private volatile boolean loggedIn
private long lastLoginCheck
private static final Object CHECK_LOCK
private static final sun.security.pkcs11.wrapper.CK_MECHANISM_INFO INVALID_MECH
private Boolean supportsRawSecretKeyImport
private static final java.util.List serializedTokens
void <init> (sun.security.pkcs11.SunPKCS11) throws sun.security.pkcs11.wrapper.PKCS11Exception
boolean isWriteProtected ()
boolean supportsRawSecretKeyImport ()
boolean isLoggedIn (sun.security.pkcs11.Session) throws sun.security.pkcs11.wrapper.PKCS11Exception
boolean isLoggedInNow (sun.security.pkcs11.Session) throws sun.security.pkcs11.wrapper.PKCS11Exception
void ensureLoggedIn (sun.security.pkcs11.Session) throws sun.security.pkcs11.wrapper.PKCS11Exception javax.security.auth.login.LoginException
boolean isValid ()
void ensureValid ()
boolean isPresent (long)
void destroy ()
sun.security.pkcs11.Session getObjSession () throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.Session getOpSession () throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.Session releaseSession (sun.security.pkcs11.Session)
sun.security.pkcs11.Session killSession (sun.security.pkcs11.Session)
sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] getAttributes (java.lang.String, long, long, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.P11KeyFactory getKeyFactory (java.lang.String)
sun.security.pkcs11.P11SecureRandom getRandom ()
sun.security.pkcs11.P11KeyStore getKeyStore ()
sun.security.pkcs11.wrapper.CK_MECHANISM_INFO getMechanismInfo (long) throws sun.security.pkcs11.wrapper.PKCS11Exception
private synchronized byte[] getTokenId ()
private java.lang.Object writeReplace () throws java.io.ObjectStreamException
static synthetic byte[] access$000 (sun.security.pkcs11.Token)
static synthetic java.util.List access$100 ()
static void <clinit> ()
}
sun/security/pkcs11/wrapper/CK_AES_CTR_PARAMS.class
CK_AES_CTR_PARAMS.java
package sun.security.pkcs11.wrapper
public sun.security.pkcs11.wrapper.CK_AES_CTR_PARAMS extends java.lang.Object {
private final long ulCounterBits
private final byte[] cb
public void <init> (byte[])
public java.lang.String toString ()
}
sun/security/pkcs11/wrapper/CK_ATTRIBUTE.class
CK_ATTRIBUTE.java
package sun.security.pkcs11.wrapper
public sun.security.pkcs11.wrapper.CK_ATTRIBUTE extends java.lang.Object {
public static final sun.security.pkcs11.wrapper.CK_ATTRIBUTE TOKEN_FALSE
public static final sun.security.pkcs11.wrapper.CK_ATTRIBUTE SENSITIVE_FALSE
public static final sun.security.pkcs11.wrapper.CK_ATTRIBUTE EXTRACTABLE_TRUE
public static final sun.security.pkcs11.wrapper.CK_ATTRIBUTE ENCRYPT_TRUE
public static final sun.security.pkcs11.wrapper.CK_ATTRIBUTE DECRYPT_TRUE
public static final sun.security.pkcs11.wrapper.CK_ATTRIBUTE WRAP_TRUE
public static final sun.security.pkcs11.wrapper.CK_ATTRIBUTE UNWRAP_TRUE
public static final sun.security.pkcs11.wrapper.CK_ATTRIBUTE SIGN_TRUE
public static final sun.security.pkcs11.wrapper.CK_ATTRIBUTE VERIFY_TRUE
public static final sun.security.pkcs11.wrapper.CK_ATTRIBUTE SIGN_RECOVER_TRUE
public static final sun.security.pkcs11.wrapper.CK_ATTRIBUTE VERIFY_RECOVER_TRUE
public static final sun.security.pkcs11.wrapper.CK_ATTRIBUTE DERIVE_TRUE
public static final sun.security.pkcs11.wrapper.CK_ATTRIBUTE ENCRYPT_NULL
public static final sun.security.pkcs11.wrapper.CK_ATTRIBUTE DECRYPT_NULL
public static final sun.security.pkcs11.wrapper.CK_ATTRIBUTE WRAP_NULL
public static final sun.security.pkcs11.wrapper.CK_ATTRIBUTE UNWRAP_NULL
public long type
public Object pValue
public void <init> ()
public void <init> (long)
public void <init> (long, java.lang.Object)
public void <init> (long, boolean)
public void <init> (long, long)
public void <init> (long, java.math.BigInteger)
public java.math.BigInteger getBigInteger ()
public boolean getBoolean ()
public char[] getCharArray ()
public byte[] getByteArray ()
public long getLong ()
public java.lang.String toString ()
static void <clinit> ()
}
sun/security/pkcs11/wrapper/CK_CREATEMUTEX.class
CK_CREATEMUTEX.java
package sun.security.pkcs11.wrapper
public abstract sun.security.pkcs11.wrapper.CK_CREATEMUTEX extends java.lang.Object {
public abstract java.lang.Object CK_CREATEMUTEX () throws sun.security.pkcs11.wrapper.PKCS11Exception
}
sun/security/pkcs11/wrapper/CK_C_INITIALIZE_ARGS.class
CK_C_INITIALIZE_ARGS.java
package sun.security.pkcs11.wrapper
public sun.security.pkcs11.wrapper.CK_C_INITIALIZE_ARGS extends java.lang.Object {
public sun.security.pkcs11.wrapper.CK_CREATEMUTEX CreateMutex
public sun.security.pkcs11.wrapper.CK_DESTROYMUTEX DestroyMutex
public sun.security.pkcs11.wrapper.CK_LOCKMUTEX LockMutex
public sun.security.pkcs11.wrapper.CK_UNLOCKMUTEX UnlockMutex
public long flags
public Object pReserved
public void <init> ()
}
sun/security/pkcs11/wrapper/CK_DATE.class
CK_DATE.java
package sun.security.pkcs11.wrapper
public sun.security.pkcs11.wrapper.CK_DATE extends java.lang.Object implements java.lang.Cloneable {
public char[] year
public char[] month
public char[] day
public void <init> (char[], char[], char[])
public java.lang.Object clone ()
public java.lang.String toString ()
}
sun/security/pkcs11/wrapper/CK_DESTROYMUTEX.class
CK_DESTROYMUTEX.java
package sun.security.pkcs11.wrapper
public abstract sun.security.pkcs11.wrapper.CK_DESTROYMUTEX extends java.lang.Object {
public abstract void CK_DESTROYMUTEX (java.lang.Object) throws sun.security.pkcs11.wrapper.PKCS11Exception
}
sun/security/pkcs11/wrapper/CK_ECDH1_DERIVE_PARAMS.class
CK_ECDH1_DERIVE_PARAMS.java
package sun.security.pkcs11.wrapper
public sun.security.pkcs11.wrapper.CK_ECDH1_DERIVE_PARAMS extends java.lang.Object {
public long kdf
public byte[] pSharedData
public byte[] pPublicData
public void <init> (long, byte[], byte[])
public java.lang.String toString ()
}
sun/security/pkcs11/wrapper/CK_ECDH2_DERIVE_PARAMS.class
CK_ECDH2_DERIVE_PARAMS.java
package sun.security.pkcs11.wrapper
public sun.security.pkcs11.wrapper.CK_ECDH2_DERIVE_PARAMS extends java.lang.Object {
public long kdf
public byte[] pSharedData
public byte[] pPublicData
public long ulPrivateDataLen
public long hPrivateData
public byte[] pPublicData2
public void <init> ()
public java.lang.String toString ()
}
sun/security/pkcs11/wrapper/CK_INFO.class
CK_INFO.java
package sun.security.pkcs11.wrapper
public sun.security.pkcs11.wrapper.CK_INFO extends java.lang.Object {
public sun.security.pkcs11.wrapper.CK_VERSION cryptokiVersion
public char[] manufacturerID
public long flags
public char[] libraryDescription
public sun.security.pkcs11.wrapper.CK_VERSION libraryVersion
public void <init> (sun.security.pkcs11.wrapper.CK_VERSION, char[], long, char[], sun.security.pkcs11.wrapper.CK_VERSION)
public java.lang.String toString ()
}
sun/security/pkcs11/wrapper/CK_LOCKMUTEX.class
CK_LOCKMUTEX.java
package sun.security.pkcs11.wrapper
public abstract sun.security.pkcs11.wrapper.CK_LOCKMUTEX extends java.lang.Object {
public abstract void CK_LOCKMUTEX (java.lang.Object) throws sun.security.pkcs11.wrapper.PKCS11Exception
}
sun/security/pkcs11/wrapper/CK_MECHANISM.class
CK_MECHANISM.java
package sun.security.pkcs11.wrapper
public sun.security.pkcs11.wrapper.CK_MECHANISM extends java.lang.Object {
public long mechanism
public Object pParameter
public void <init> ()
public void <init> (long)
public void <init> (long, byte[])
public void <init> (long, java.math.BigInteger)
public void <init> (long, sun.security.pkcs11.wrapper.CK_VERSION)
public void <init> (long, sun.security.pkcs11.wrapper.CK_SSL3_MASTER_KEY_DERIVE_PARAMS)
public void <init> (long, sun.security.pkcs11.wrapper.CK_SSL3_KEY_MAT_PARAMS)
public void <init> (long, sun.security.pkcs11.wrapper.CK_TLS_PRF_PARAMS)
public void <init> (long, sun.security.pkcs11.wrapper.CK_ECDH1_DERIVE_PARAMS)
public void <init> (long, java.lang.Long)
public void <init> (long, sun.security.pkcs11.wrapper.CK_AES_CTR_PARAMS)
private void init (long, java.lang.Object)
public java.lang.String toString ()
}
sun/security/pkcs11/wrapper/CK_MECHANISM_INFO.class
CK_MECHANISM_INFO.java
package sun.security.pkcs11.wrapper
public sun.security.pkcs11.wrapper.CK_MECHANISM_INFO extends java.lang.Object {
public long ulMinKeySize
public long ulMaxKeySize
public long flags
public void <init> (long, long, long)
public java.lang.String toString ()
}
sun/security/pkcs11/wrapper/CK_NOTIFY.class
CK_NOTIFY.java
package sun.security.pkcs11.wrapper
public abstract sun.security.pkcs11.wrapper.CK_NOTIFY extends java.lang.Object {
public abstract void CK_NOTIFY (long, long, java.lang.Object) throws sun.security.pkcs11.wrapper.PKCS11Exception
}
sun/security/pkcs11/wrapper/CK_PBE_PARAMS.class
CK_PBE_PARAMS.java
package sun.security.pkcs11.wrapper
public sun.security.pkcs11.wrapper.CK_PBE_PARAMS extends java.lang.Object {
public char[] pInitVector
public char[] pPassword
public char[] pSalt
public long ulIteration
public void <init> ()
public java.lang.String toString ()
}
sun/security/pkcs11/wrapper/CK_PKCS5_PBKD2_PARAMS.class
CK_PKCS5_PBKD2_PARAMS.java
package sun.security.pkcs11.wrapper
public sun.security.pkcs11.wrapper.CK_PKCS5_PBKD2_PARAMS extends java.lang.Object {
public long saltSource
public byte[] pSaltSourceData
public long iterations
public long prf
public byte[] pPrfData
public void <init> ()
public java.lang.String toString ()
}
sun/security/pkcs11/wrapper/CK_RSA_PKCS_OAEP_PARAMS.class
CK_RSA_PKCS_OAEP_PARAMS.java
package sun.security.pkcs11.wrapper
public sun.security.pkcs11.wrapper.CK_RSA_PKCS_OAEP_PARAMS extends java.lang.Object {
public long hashAlg
public long mgf
public long source
public byte[] pSourceData
public void <init> ()
public java.lang.String toString ()
}
sun/security/pkcs11/wrapper/CK_RSA_PKCS_PSS_PARAMS.class
CK_RSA_PKCS_PSS_PARAMS.java
package sun.security.pkcs11.wrapper
public sun.security.pkcs11.wrapper.CK_RSA_PKCS_PSS_PARAMS extends java.lang.Object {
public long hashAlg
public long mgf
public long sLen
public void <init> ()
public java.lang.String toString ()
}
sun/security/pkcs11/wrapper/CK_SESSION_INFO.class
CK_SESSION_INFO.java
package sun.security.pkcs11.wrapper
public sun.security.pkcs11.wrapper.CK_SESSION_INFO extends java.lang.Object {
public long slotID
public long state
public long flags
public long ulDeviceError
public void <init> (long, long, long, long)
public java.lang.String toString ()
}
sun/security/pkcs11/wrapper/CK_SLOT_INFO.class
CK_SLOT_INFO.java
package sun.security.pkcs11.wrapper
public sun.security.pkcs11.wrapper.CK_SLOT_INFO extends java.lang.Object {
public char[] slotDescription
public char[] manufacturerID
public long flags
public sun.security.pkcs11.wrapper.CK_VERSION hardwareVersion
public sun.security.pkcs11.wrapper.CK_VERSION firmwareVersion
public void <init> (char[], char[], long, sun.security.pkcs11.wrapper.CK_VERSION, sun.security.pkcs11.wrapper.CK_VERSION)
public java.lang.String toString ()
}
sun/security/pkcs11/wrapper/CK_SSL3_KEY_MAT_OUT.class
CK_SSL3_KEY_MAT_OUT.java
package sun.security.pkcs11.wrapper
public sun.security.pkcs11.wrapper.CK_SSL3_KEY_MAT_OUT extends java.lang.Object {
public long hClientMacSecret
public long hServerMacSecret
public long hClientKey
public long hServerKey
public byte[] pIVClient
public byte[] pIVServer
public void <init> ()
public java.lang.String toString ()
}
sun/security/pkcs11/wrapper/CK_SSL3_KEY_MAT_PARAMS.class
CK_SSL3_KEY_MAT_PARAMS.java
package sun.security.pkcs11.wrapper
public sun.security.pkcs11.wrapper.CK_SSL3_KEY_MAT_PARAMS extends java.lang.Object {
public long ulMacSizeInBits
public long ulKeySizeInBits
public long ulIVSizeInBits
public boolean bIsExport
public sun.security.pkcs11.wrapper.CK_SSL3_RANDOM_DATA RandomInfo
public sun.security.pkcs11.wrapper.CK_SSL3_KEY_MAT_OUT pReturnedKeyMaterial
public void <init> (int, int, int, boolean, sun.security.pkcs11.wrapper.CK_SSL3_RANDOM_DATA)
public java.lang.String toString ()
}
sun/security/pkcs11/wrapper/CK_SSL3_MASTER_KEY_DERIVE_PARAMS.class
CK_SSL3_MASTER_KEY_DERIVE_PARAMS.java
package sun.security.pkcs11.wrapper
public sun.security.pkcs11.wrapper.CK_SSL3_MASTER_KEY_DERIVE_PARAMS extends java.lang.Object {
public sun.security.pkcs11.wrapper.CK_SSL3_RANDOM_DATA RandomInfo
public sun.security.pkcs11.wrapper.CK_VERSION pVersion
public void <init> (sun.security.pkcs11.wrapper.CK_SSL3_RANDOM_DATA, sun.security.pkcs11.wrapper.CK_VERSION)
public java.lang.String toString ()
}
sun/security/pkcs11/wrapper/CK_SSL3_RANDOM_DATA.class
CK_SSL3_RANDOM_DATA.java
package sun.security.pkcs11.wrapper
public sun.security.pkcs11.wrapper.CK_SSL3_RANDOM_DATA extends java.lang.Object {
public byte[] pClientRandom
public byte[] pServerRandom
public void <init> (byte[], byte[])
public java.lang.String toString ()
}
sun/security/pkcs11/wrapper/CK_TLS_PRF_PARAMS.class
CK_TLS_PRF_PARAMS.java
package sun.security.pkcs11.wrapper
public sun.security.pkcs11.wrapper.CK_TLS_PRF_PARAMS extends java.lang.Object {
public byte[] pSeed
public byte[] pLabel
public byte[] pOutput
public void <init> (byte[], byte[], byte[])
}
sun/security/pkcs11/wrapper/CK_TOKEN_INFO.class
CK_TOKEN_INFO.java
package sun.security.pkcs11.wrapper
public sun.security.pkcs11.wrapper.CK_TOKEN_INFO extends java.lang.Object {
public char[] label
public char[] manufacturerID
public char[] model
public char[] serialNumber
public long flags
public long ulMaxSessionCount
public long ulSessionCount
public long ulMaxRwSessionCount
public long ulRwSessionCount
public long ulMaxPinLen
public long ulMinPinLen
public long ulTotalPublicMemory
public long ulFreePublicMemory
public long ulTotalPrivateMemory
public long ulFreePrivateMemory
public sun.security.pkcs11.wrapper.CK_VERSION hardwareVersion
public sun.security.pkcs11.wrapper.CK_VERSION firmwareVersion
public char[] utcTime
public void <init> (char[], char[], char[], char[], long, long, long, long, long, long, long, long, long, long, long, sun.security.pkcs11.wrapper.CK_VERSION, sun.security.pkcs11.wrapper.CK_VERSION, char[])
public java.lang.String toString ()
}
sun/security/pkcs11/wrapper/CK_UNLOCKMUTEX.class
CK_UNLOCKMUTEX.java
package sun.security.pkcs11.wrapper
public abstract sun.security.pkcs11.wrapper.CK_UNLOCKMUTEX extends java.lang.Object {
public abstract void CK_UNLOCKMUTEX (java.lang.Object) throws sun.security.pkcs11.wrapper.PKCS11Exception
}
sun/security/pkcs11/wrapper/CK_VERSION.class
CK_VERSION.java
package sun.security.pkcs11.wrapper
public sun.security.pkcs11.wrapper.CK_VERSION extends java.lang.Object {
public byte major
public byte minor
public void <init> (int, int)
public java.lang.String toString ()
}
sun/security/pkcs11/wrapper/CK_X9_42_DH1_DERIVE_PARAMS.class
CK_X9_42_DH1_DERIVE_PARAMS.java
package sun.security.pkcs11.wrapper
public sun.security.pkcs11.wrapper.CK_X9_42_DH1_DERIVE_PARAMS extends java.lang.Object {
public long kdf
public byte[] pOtherInfo
public byte[] pPublicData
public void <init> ()
public java.lang.String toString ()
}
sun/security/pkcs11/wrapper/CK_X9_42_DH2_DERIVE_PARAMS.class
CK_X9_42_DH2_DERIVE_PARAMS.java
package sun.security.pkcs11.wrapper
public sun.security.pkcs11.wrapper.CK_X9_42_DH2_DERIVE_PARAMS extends java.lang.Object {
public long kdf
public byte[] pOtherInfo
public byte[] pPublicData
public long ulPrivateDataLen
public long hPrivateData
public byte[] pPublicData2
public void <init> ()
public java.lang.String toString ()
}
sun/security/pkcs11/wrapper/Constants.class
Constants.java
package sun.security.pkcs11.wrapper
public sun.security.pkcs11.wrapper.Constants extends java.lang.Object {
public static final String NEWLINE
public static final String INDENT
public void <init> ()
static void <clinit> ()
}
sun/security/pkcs11/wrapper/Functions$Flags.class
Functions.java
package sun.security.pkcs11.wrapper
sun.security.pkcs11.wrapper.Functions$Flags extends java.lang.Object {
private final long[] flagIds
private final String[] flagNames
void <init> (long[], java.lang.String[])
java.lang.String toString (long)
}
sun/security/pkcs11/wrapper/Functions.class
Functions.java
package sun.security.pkcs11.wrapper
public sun.security.pkcs11.wrapper.Functions extends java.lang.Object {
private static final java.util.Map mechNames
private static final java.util.Map mechIds
private static final java.util.Map keyNames
private static final java.util.Map keyIds
private static final java.util.Map attributeNames
private static final java.util.Map attributeIds
private static final java.util.Map objectClassNames
private static final java.util.Map objectClassIds
private static final char[] HEX_DIGITS
private static final sun.security.pkcs11.wrapper.Functions$Flags slotInfoFlags
private static final sun.security.pkcs11.wrapper.Functions$Flags tokenInfoFlags
private static final sun.security.pkcs11.wrapper.Functions$Flags sessionInfoFlags
private static final sun.security.pkcs11.wrapper.Functions$Flags mechanismInfoFlags
public void <init> ()
public static java.lang.String toFullHexString (long)
public static java.lang.String toFullHexString (int)
public static java.lang.String toHexString (long)
public static java.lang.String toHexString (byte[])
public static java.lang.String toBinaryString (long)
public static java.lang.String toBinaryString (byte[])
public static java.lang.String slotInfoFlagsToString (long)
public static java.lang.String tokenInfoFlagsToString (long)
public static java.lang.String sessionInfoFlagsToString (long)
public static java.lang.String sessionStateToString (long)
public static java.lang.String mechanismInfoFlagsToString (long)
private static java.lang.String getName (java.util.Map, long)
public static long getId (java.util.Map, java.lang.String)
public static java.lang.String getMechanismName (long)
public static long getMechanismId (java.lang.String)
public static java.lang.String getKeyName (long)
public static long getKeyId (java.lang.String)
public static java.lang.String getAttributeName (long)
public static long getAttributeId (java.lang.String)
public static java.lang.String getObjectClassName (long)
public static long getObjectClassId (java.lang.String)
private static boolean equals (char[], char[])
public static boolean equals (sun.security.pkcs11.wrapper.CK_DATE, sun.security.pkcs11.wrapper.CK_DATE)
public static int hashCode (byte[])
public static int hashCode (char[])
public static int hashCode (sun.security.pkcs11.wrapper.CK_DATE)
private static void addMapping (java.util.Map, java.util.Map, long, java.lang.String)
private static void addMech (long, java.lang.String)
private static void addKeyType (long, java.lang.String)
private static void addAttribute (long, java.lang.String)
private static void addObjectClass (long, java.lang.String)
static void <clinit> ()
}
sun/security/pkcs11/wrapper/PKCS11$1.class
PKCS11.java
package sun.security.pkcs11.wrapper
final sun.security.pkcs11.wrapper.PKCS11$1 extends java.lang.Object implements java.security.PrivilegedAction {
void <init> ()
public java.lang.Object run ()
}
sun/security/pkcs11/wrapper/PKCS11$SynchronizedPKCS11.class
PKCS11.java
package sun.security.pkcs11.wrapper
sun.security.pkcs11.wrapper.PKCS11$SynchronizedPKCS11 extends sun.security.pkcs11.wrapper.PKCS11 {
void <init> (java.lang.String, java.lang.String) throws java.io.IOException
synchronized void C_Initialize (java.lang.Object) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized void C_Finalize (java.lang.Object) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized sun.security.pkcs11.wrapper.CK_INFO C_GetInfo () throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized long[] C_GetSlotList (boolean) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized sun.security.pkcs11.wrapper.CK_SLOT_INFO C_GetSlotInfo (long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized sun.security.pkcs11.wrapper.CK_TOKEN_INFO C_GetTokenInfo (long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized long[] C_GetMechanismList (long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized sun.security.pkcs11.wrapper.CK_MECHANISM_INFO C_GetMechanismInfo (long, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized long C_OpenSession (long, long, java.lang.Object, sun.security.pkcs11.wrapper.CK_NOTIFY) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized void C_CloseSession (long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized sun.security.pkcs11.wrapper.CK_SESSION_INFO C_GetSessionInfo (long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized void C_Login (long, long, char[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized void C_Logout (long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized long C_CreateObject (long, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized long C_CopyObject (long, long, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized void C_DestroyObject (long, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized void C_GetAttributeValue (long, long, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized void C_SetAttributeValue (long, long, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized void C_FindObjectsInit (long, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized long[] C_FindObjects (long, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized void C_FindObjectsFinal (long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized void C_EncryptInit (long, sun.security.pkcs11.wrapper.CK_MECHANISM, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized int C_Encrypt (long, byte[], int, int, byte[], int, int) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized int C_EncryptUpdate (long, long, byte[], int, int, long, byte[], int, int) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized int C_EncryptFinal (long, long, byte[], int, int) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized void C_DecryptInit (long, sun.security.pkcs11.wrapper.CK_MECHANISM, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized int C_Decrypt (long, byte[], int, int, byte[], int, int) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized int C_DecryptUpdate (long, long, byte[], int, int, long, byte[], int, int) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized int C_DecryptFinal (long, long, byte[], int, int) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized void C_DigestInit (long, sun.security.pkcs11.wrapper.CK_MECHANISM) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized int C_DigestSingle (long, sun.security.pkcs11.wrapper.CK_MECHANISM, byte[], int, int, byte[], int, int) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized void C_DigestUpdate (long, long, byte[], int, int) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized void C_DigestKey (long, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized int C_DigestFinal (long, byte[], int, int) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized void C_SignInit (long, sun.security.pkcs11.wrapper.CK_MECHANISM, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized byte[] C_Sign (long, byte[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized void C_SignUpdate (long, long, byte[], int, int) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized byte[] C_SignFinal (long, int) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized void C_SignRecoverInit (long, sun.security.pkcs11.wrapper.CK_MECHANISM, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized int C_SignRecover (long, byte[], int, int, byte[], int, int) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized void C_VerifyInit (long, sun.security.pkcs11.wrapper.CK_MECHANISM, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized void C_Verify (long, byte[], byte[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized void C_VerifyUpdate (long, long, byte[], int, int) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized void C_VerifyFinal (long, byte[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized void C_VerifyRecoverInit (long, sun.security.pkcs11.wrapper.CK_MECHANISM, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized int C_VerifyRecover (long, byte[], int, int, byte[], int, int) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized long C_GenerateKey (long, sun.security.pkcs11.wrapper.CK_MECHANISM, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized long[] C_GenerateKeyPair (long, sun.security.pkcs11.wrapper.CK_MECHANISM, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[], sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized byte[] C_WrapKey (long, sun.security.pkcs11.wrapper.CK_MECHANISM, long, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized long C_UnwrapKey (long, sun.security.pkcs11.wrapper.CK_MECHANISM, long, byte[], sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized long C_DeriveKey (long, sun.security.pkcs11.wrapper.CK_MECHANISM, long, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized void C_SeedRandom (long, byte[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
public synchronized void C_GenerateRandom (long, byte[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
}
sun/security/pkcs11/wrapper/PKCS11.class
PKCS11.java
package sun.security.pkcs11.wrapper
public sun.security.pkcs11.wrapper.PKCS11 extends java.lang.Object {
private static final String PKCS11_WRAPPER
private final String pkcs11ModulePath
private long pNativeData
private static final java.util.Map moduleMap
public static void loadNative ()
private static native void initializeLibrary ()
private static native void finalizeLibrary ()
void <init> (java.lang.String, java.lang.String) throws java.io.IOException
public static synchronized sun.security.pkcs11.wrapper.PKCS11 getInstance (java.lang.String, java.lang.String, sun.security.pkcs11.wrapper.CK_C_INITIALIZE_ARGS, boolean) throws java.io.IOException sun.security.pkcs11.wrapper.PKCS11Exception
private native void connect (java.lang.String, java.lang.String) throws java.io.IOException
private native void disconnect ()
native void C_Initialize (java.lang.Object) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native void C_Finalize (java.lang.Object) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native sun.security.pkcs11.wrapper.CK_INFO C_GetInfo () throws sun.security.pkcs11.wrapper.PKCS11Exception
public native long[] C_GetSlotList (boolean) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native sun.security.pkcs11.wrapper.CK_SLOT_INFO C_GetSlotInfo (long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native sun.security.pkcs11.wrapper.CK_TOKEN_INFO C_GetTokenInfo (long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native long[] C_GetMechanismList (long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native sun.security.pkcs11.wrapper.CK_MECHANISM_INFO C_GetMechanismInfo (long, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native long C_OpenSession (long, long, java.lang.Object, sun.security.pkcs11.wrapper.CK_NOTIFY) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native void C_CloseSession (long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native sun.security.pkcs11.wrapper.CK_SESSION_INFO C_GetSessionInfo (long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native byte[] C_GetOperationState (long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native void C_SetOperationState (long, byte[], long, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native void C_Login (long, long, char[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native void C_Logout (long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native long C_CreateObject (long, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native long C_CopyObject (long, long, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native void C_DestroyObject (long, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native void C_GetAttributeValue (long, long, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native void C_SetAttributeValue (long, long, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native void C_FindObjectsInit (long, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native long[] C_FindObjects (long, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native void C_FindObjectsFinal (long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native void C_EncryptInit (long, sun.security.pkcs11.wrapper.CK_MECHANISM, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native int C_Encrypt (long, byte[], int, int, byte[], int, int) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native int C_EncryptUpdate (long, long, byte[], int, int, long, byte[], int, int) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native int C_EncryptFinal (long, long, byte[], int, int) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native void C_DecryptInit (long, sun.security.pkcs11.wrapper.CK_MECHANISM, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native int C_Decrypt (long, byte[], int, int, byte[], int, int) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native int C_DecryptUpdate (long, long, byte[], int, int, long, byte[], int, int) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native int C_DecryptFinal (long, long, byte[], int, int) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native void C_DigestInit (long, sun.security.pkcs11.wrapper.CK_MECHANISM) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native int C_DigestSingle (long, sun.security.pkcs11.wrapper.CK_MECHANISM, byte[], int, int, byte[], int, int) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native void C_DigestUpdate (long, long, byte[], int, int) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native void C_DigestKey (long, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native int C_DigestFinal (long, byte[], int, int) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native void C_SignInit (long, sun.security.pkcs11.wrapper.CK_MECHANISM, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native byte[] C_Sign (long, byte[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native void C_SignUpdate (long, long, byte[], int, int) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native byte[] C_SignFinal (long, int) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native void C_SignRecoverInit (long, sun.security.pkcs11.wrapper.CK_MECHANISM, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native int C_SignRecover (long, byte[], int, int, byte[], int, int) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native void C_VerifyInit (long, sun.security.pkcs11.wrapper.CK_MECHANISM, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native void C_Verify (long, byte[], byte[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native void C_VerifyUpdate (long, long, byte[], int, int) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native void C_VerifyFinal (long, byte[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native void C_VerifyRecoverInit (long, sun.security.pkcs11.wrapper.CK_MECHANISM, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native int C_VerifyRecover (long, byte[], int, int, byte[], int, int) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native long C_GenerateKey (long, sun.security.pkcs11.wrapper.CK_MECHANISM, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native long[] C_GenerateKeyPair (long, sun.security.pkcs11.wrapper.CK_MECHANISM, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[], sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native byte[] C_WrapKey (long, sun.security.pkcs11.wrapper.CK_MECHANISM, long, long) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native long C_UnwrapKey (long, sun.security.pkcs11.wrapper.CK_MECHANISM, long, byte[], sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native long C_DeriveKey (long, sun.security.pkcs11.wrapper.CK_MECHANISM, long, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native void C_SeedRandom (long, byte[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
public native void C_GenerateRandom (long, byte[]) throws sun.security.pkcs11.wrapper.PKCS11Exception
public java.lang.String toString ()
protected void finalize () throws java.lang.Throwable
static void <clinit> ()
}
sun/security/pkcs11/wrapper/PKCS11Constants.class
PKCS11Constants.java
package sun.security.pkcs11.wrapper
public abstract sun.security.pkcs11.wrapper.PKCS11Constants extends java.lang.Object {
public static final boolean TRUE
public static final boolean FALSE
public static final Object NULL_PTR
public static final long CK_UNAVAILABLE_INFORMATION
public static final long CK_EFFECTIVELY_INFINITE
public static final long CK_INVALID_HANDLE
public static final long CKN_SURRENDER
public static final long CKF_TOKEN_PRESENT
public static final long CKF_REMOVABLE_DEVICE
public static final long CKF_HW_SLOT
public static final long CKF_RNG
public static final long CKF_WRITE_PROTECTED
public static final long CKF_LOGIN_REQUIRED
public static final long CKF_USER_PIN_INITIALIZED
public static final long CKF_RESTORE_KEY_NOT_NEEDED
public static final long CKF_CLOCK_ON_TOKEN
public static final long CKF_PROTECTED_AUTHENTICATION_PATH
public static final long CKF_DUAL_CRYPTO_OPERATIONS
public static final long CKF_TOKEN_INITIALIZED
public static final long CKF_SECONDARY_AUTHENTICATION
public static final long CKF_USER_PIN_COUNT_LOW
public static final long CKF_USER_PIN_FINAL_TRY
public static final long CKF_USER_PIN_LOCKED
public static final long CKF_USER_PIN_TO_BE_CHANGED
public static final long CKF_SO_PIN_COUNT_LOW
public static final long CKF_SO_PIN_FINAL_TRY
public static final long CKF_SO_PIN_LOCKED
public static final long CKF_SO_PIN_TO_BE_CHANGED
public static final long CKU_SO
public static final long CKU_USER
public static final long CKS_RO_PUBLIC_SESSION
public static final long CKS_RO_USER_FUNCTIONS
public static final long CKS_RW_PUBLIC_SESSION
public static final long CKS_RW_USER_FUNCTIONS
public static final long CKS_RW_SO_FUNCTIONS
public static final long CKF_RW_SESSION
public static final long CKF_SERIAL_SESSION
public static final long CKO_DATA
public static final long CKO_CERTIFICATE
public static final long CKO_PUBLIC_KEY
public static final long CKO_PRIVATE_KEY
public static final long CKO_SECRET_KEY
public static final long CKO_HW_FEATURE
public static final long CKO_DOMAIN_PARAMETERS
public static final long CKO_VENDOR_DEFINED
public static final long PCKO_ANY
public static final long CKH_MONOTONIC_COUNTER
public static final long CKH_CLOCK
public static final long CKH_VENDOR_DEFINED
public static final long CKK_RSA
public static final long CKK_DSA
public static final long CKK_DH
public static final long CKK_ECDSA
public static final long CKK_EC
public static final long CKK_X9_42_DH
public static final long CKK_KEA
public static final long CKK_GENERIC_SECRET
public static final long CKK_RC2
public static final long CKK_RC4
public static final long CKK_DES
public static final long CKK_DES2
public static final long CKK_DES3
public static final long CKK_CAST
public static final long CKK_CAST3
public static final long CKK_CAST5
public static final long CKK_CAST128
public static final long CKK_RC5
public static final long CKK_IDEA
public static final long CKK_SKIPJACK
public static final long CKK_BATON
public static final long CKK_JUNIPER
public static final long CKK_CDMF
public static final long CKK_AES
public static final long CKK_BLOWFISH
public static final long CKK_VENDOR_DEFINED
public static final long PCKK_ANY
public static final long PCKK_HMAC
public static final long PCKK_SSLMAC
public static final long PCKK_TLSPREMASTER
public static final long PCKK_TLSRSAPREMASTER
public static final long PCKK_TLSMASTER
public static final long CKC_X_509
public static final long CKC_X_509_ATTR_CERT
public static final long CKC_VENDOR_DEFINED
public static final long CKA_CLASS
public static final long CKA_TOKEN
public static final long CKA_PRIVATE
public static final long CKA_LABEL
public static final long CKA_APPLICATION
public static final long CKA_VALUE
public static final long CKA_OBJECT_ID
public static final long CKA_CERTIFICATE_TYPE
public static final long CKA_ISSUER
public static final long CKA_SERIAL_NUMBER
public static final long CKA_AC_ISSUER
public static final long CKA_OWNER
public static final long CKA_ATTR_TYPES
public static final long CKA_TRUSTED
public static final long CKA_KEY_TYPE
public static final long CKA_SUBJECT
public static final long CKA_ID
public static final long CKA_SENSITIVE
public static final long CKA_ENCRYPT
public static final long CKA_DECRYPT
public static final long CKA_WRAP
public static final long CKA_UNWRAP
public static final long CKA_SIGN
public static final long CKA_SIGN_RECOVER
public static final long CKA_VERIFY
public static final long CKA_VERIFY_RECOVER
public static final long CKA_DERIVE
public static final long CKA_START_DATE
public static final long CKA_END_DATE
public static final long CKA_MODULUS
public static final long CKA_MODULUS_BITS
public static final long CKA_PUBLIC_EXPONENT
public static final long CKA_PRIVATE_EXPONENT
public static final long CKA_PRIME_1
public static final long CKA_PRIME_2
public static final long CKA_EXPONENT_1
public static final long CKA_EXPONENT_2
public static final long CKA_COEFFICIENT
public static final long CKA_PRIME
public static final long CKA_SUBPRIME
public static final long CKA_BASE
public static final long CKA_PRIME_BITS
public static final long CKA_SUB_PRIME_BITS
public static final long CKA_VALUE_BITS
public static final long CKA_VALUE_LEN
public static final long CKA_EXTRACTABLE
public static final long CKA_LOCAL
public static final long CKA_NEVER_EXTRACTABLE
public static final long CKA_ALWAYS_SENSITIVE
public static final long CKA_KEY_GEN_MECHANISM
public static final long CKA_MODIFIABLE
public static final long CKA_ECDSA_PARAMS
public static final long CKA_EC_PARAMS
public static final long CKA_EC_POINT
public static final long CKA_SECONDARY_AUTH
public static final long CKA_AUTH_PIN_FLAGS
public static final long CKA_HW_FEATURE_TYPE
public static final long CKA_RESET_ON_INIT
public static final long CKA_HAS_RESET
public static final long CKA_VENDOR_DEFINED
public static final long CKM_RSA_PKCS_KEY_PAIR_GEN
public static final long CKM_RSA_PKCS
public static final long CKM_RSA_9796
public static final long CKM_RSA_X_509
public static final long CKM_MD2_RSA_PKCS
public static final long CKM_MD5_RSA_PKCS
public static final long CKM_SHA1_RSA_PKCS
public static final long CKM_RIPEMD128_RSA_PKCS
public static final long CKM_RIPEMD160_RSA_PKCS
public static final long CKM_RSA_PKCS_OAEP
public static final long CKM_RSA_X9_31_KEY_PAIR_GEN
public static final long CKM_RSA_X9_31
public static final long CKM_SHA1_RSA_X9_31
public static final long CKM_RSA_PKCS_PSS
public static final long CKM_SHA1_RSA_PKCS_PSS
public static final long CKM_DSA_KEY_PAIR_GEN
public static final long CKM_DSA
public static final long CKM_DSA_SHA1
public static final long CKM_DH_PKCS_KEY_PAIR_GEN
public static final long CKM_DH_PKCS_DERIVE
public static final long CKM_X9_42_DH_KEY_PAIR_GEN
public static final long CKM_X9_42_DH_DERIVE
public static final long CKM_X9_42_DH_HYBRID_DERIVE
public static final long CKM_X9_42_MQV_DERIVE
public static final long CKM_SHA256_RSA_PKCS
public static final long CKM_SHA384_RSA_PKCS
public static final long CKM_SHA512_RSA_PKCS
public static final long CKM_RC2_KEY_GEN
public static final long CKM_RC2_ECB
public static final long CKM_RC2_CBC
public static final long CKM_RC2_MAC
public static final long CKM_RC2_MAC_GENERAL
public static final long CKM_RC2_CBC_PAD
public static final long CKM_RC4_KEY_GEN
public static final long CKM_RC4
public static final long CKM_DES_KEY_GEN
public static final long CKM_DES_ECB
public static final long CKM_DES_CBC
public static final long CKM_DES_MAC
public static final long CKM_DES_MAC_GENERAL
public static final long CKM_DES_CBC_PAD
public static final long CKM_DES2_KEY_GEN
public static final long CKM_DES3_KEY_GEN
public static final long CKM_DES3_ECB
public static final long CKM_DES3_CBC
public static final long CKM_DES3_MAC
public static final long CKM_DES3_MAC_GENERAL
public static final long CKM_DES3_CBC_PAD
public static final long CKM_CDMF_KEY_GEN
public static final long CKM_CDMF_ECB
public static final long CKM_CDMF_CBC
public static final long CKM_CDMF_MAC
public static final long CKM_CDMF_MAC_GENERAL
public static final long CKM_CDMF_CBC_PAD
public static final long CKM_MD2
public static final long CKM_MD2_HMAC
public static final long CKM_MD2_HMAC_GENERAL
public static final long CKM_MD5
public static final long CKM_MD5_HMAC
public static final long CKM_MD5_HMAC_GENERAL
public static final long CKM_SHA_1
public static final long CKM_SHA_1_HMAC
public static final long CKM_SHA_1_HMAC_GENERAL
public static final long CKM_RIPEMD128
public static final long CKM_RIPEMD128_HMAC
public static final long CKM_RIPEMD128_HMAC_GENERAL
public static final long CKM_RIPEMD160
public static final long CKM_RIPEMD160_HMAC
public static final long CKM_RIPEMD160_HMAC_GENERAL
public static final long CKM_SHA256
public static final long CKM_SHA256_HMAC
public static final long CKM_SHA256_HMAC_GENERAL
public static final long CKM_SHA384
public static final long CKM_SHA384_HMAC
public static final long CKM_SHA384_HMAC_GENERAL
public static final long CKM_SHA512
public static final long CKM_SHA512_HMAC
public static final long CKM_SHA512_HMAC_GENERAL
public static final long CKM_CAST_KEY_GEN
public static final long CKM_CAST_ECB
public static final long CKM_CAST_CBC
public static final long CKM_CAST_MAC
public static final long CKM_CAST_MAC_GENERAL
public static final long CKM_CAST_CBC_PAD
public static final long CKM_CAST3_KEY_GEN
public static final long CKM_CAST3_ECB
public static final long CKM_CAST3_CBC
public static final long CKM_CAST3_MAC
public static final long CKM_CAST3_MAC_GENERAL
public static final long CKM_CAST3_CBC_PAD
public static final long CKM_CAST5_KEY_GEN
public static final long CKM_CAST128_KEY_GEN
public static final long CKM_CAST5_ECB
public static final long CKM_CAST128_ECB
public static final long CKM_CAST5_CBC
public static final long CKM_CAST128_CBC
public static final long CKM_CAST5_MAC
public static final long CKM_CAST128_MAC
public static final long CKM_CAST5_MAC_GENERAL
public static final long CKM_CAST128_MAC_GENERAL
public static final long CKM_CAST5_CBC_PAD
public static final long CKM_CAST128_CBC_PAD
public static final long CKM_RC5_KEY_GEN
public static final long CKM_RC5_ECB
public static final long CKM_RC5_CBC
public static final long CKM_RC5_MAC
public static final long CKM_RC5_MAC_GENERAL
public static final long CKM_RC5_CBC_PAD
public static final long CKM_IDEA_KEY_GEN
public static final long CKM_IDEA_ECB
public static final long CKM_IDEA_CBC
public static final long CKM_IDEA_MAC
public static final long CKM_IDEA_MAC_GENERAL
public static final long CKM_IDEA_CBC_PAD
public static final long CKM_GENERIC_SECRET_KEY_GEN
public static final long CKM_CONCATENATE_BASE_AND_KEY
public static final long CKM_CONCATENATE_BASE_AND_DATA
public static final long CKM_CONCATENATE_DATA_AND_BASE
public static final long CKM_XOR_BASE_AND_DATA
public static final long CKM_EXTRACT_KEY_FROM_KEY
public static final long CKM_SSL3_PRE_MASTER_KEY_GEN
public static final long CKM_SSL3_MASTER_KEY_DERIVE
public static final long CKM_SSL3_KEY_AND_MAC_DERIVE
public static final long CKM_SSL3_MASTER_KEY_DERIVE_DH
public static final long CKM_TLS_PRE_MASTER_KEY_GEN
public static final long CKM_TLS_MASTER_KEY_DERIVE
public static final long CKM_TLS_KEY_AND_MAC_DERIVE
public static final long CKM_TLS_MASTER_KEY_DERIVE_DH
public static final long CKM_TLS_PRF
public static final long CKM_SSL3_MD5_MAC
public static final long CKM_SSL3_SHA1_MAC
public static final long CKM_MD5_KEY_DERIVATION
public static final long CKM_MD2_KEY_DERIVATION
public static final long CKM_SHA1_KEY_DERIVATION
public static final long CKM_SHA256_KEY_DERIVATION
public static final long CKM_SHA384_KEY_DERIVATION
public static final long CKM_SHA512_KEY_DERIVATION
public static final long CKM_PBE_MD2_DES_CBC
public static final long CKM_PBE_MD5_DES_CBC
public static final long CKM_PBE_MD5_CAST_CBC
public static final long CKM_PBE_MD5_CAST3_CBC
public static final long CKM_PBE_MD5_CAST5_CBC
public static final long CKM_PBE_MD5_CAST128_CBC
public static final long CKM_PBE_SHA1_CAST5_CBC
public static final long CKM_PBE_SHA1_CAST128_CBC
public static final long CKM_PBE_SHA1_RC4_128
public static final long CKM_PBE_SHA1_RC4_40
public static final long CKM_PBE_SHA1_DES3_EDE_CBC
public static final long CKM_PBE_SHA1_DES2_EDE_CBC
public static final long CKM_PBE_SHA1_RC2_128_CBC
public static final long CKM_PBE_SHA1_RC2_40_CBC
public static final long CKM_PKCS5_PBKD2
public static final long CKM_PBA_SHA1_WITH_SHA1_HMAC
public static final long CKM_KEY_WRAP_LYNKS
public static final long CKM_KEY_WRAP_SET_OAEP
public static final long CKM_SKIPJACK_KEY_GEN
public static final long CKM_SKIPJACK_ECB64
public static final long CKM_SKIPJACK_CBC64
public static final long CKM_SKIPJACK_OFB64
public static final long CKM_SKIPJACK_CFB64
public static final long CKM_SKIPJACK_CFB32
public static final long CKM_SKIPJACK_CFB16
public static final long CKM_SKIPJACK_CFB8
public static final long CKM_SKIPJACK_WRAP
public static final long CKM_SKIPJACK_PRIVATE_WRAP
public static final long CKM_SKIPJACK_RELAYX
public static final long CKM_KEA_KEY_PAIR_GEN
public static final long CKM_KEA_KEY_DERIVE
public static final long CKM_FORTEZZA_TIMESTAMP
public static final long CKM_BATON_KEY_GEN
public static final long CKM_BATON_ECB128
public static final long CKM_BATON_ECB96
public static final long CKM_BATON_CBC128
public static final long CKM_BATON_COUNTER
public static final long CKM_BATON_SHUFFLE
public static final long CKM_BATON_WRAP
public static final long CKM_ECDSA_KEY_PAIR_GEN
public static final long CKM_EC_KEY_PAIR_GEN
public static final long CKM_ECDSA
public static final long CKM_ECDSA_SHA1
public static final long CKM_ECDH1_DERIVE
public static final long CKM_ECDH1_COFACTOR_DERIVE
public static final long CKM_ECMQV_DERIVE
public static final long CKM_JUNIPER_KEY_GEN
public static final long CKM_JUNIPER_ECB128
public static final long CKM_JUNIPER_CBC128
public static final long CKM_JUNIPER_COUNTER
public static final long CKM_JUNIPER_SHUFFLE
public static final long CKM_JUNIPER_WRAP
public static final long CKM_FASTHASH
public static final long CKM_AES_KEY_GEN
public static final long CKM_AES_ECB
public static final long CKM_AES_CBC
public static final long CKM_AES_MAC
public static final long CKM_AES_MAC_GENERAL
public static final long CKM_AES_CBC_PAD
public static final long CKM_BLOWFISH_KEY_GEN
public static final long CKM_BLOWFISH_CBC
public static final long CKM_DSA_PARAMETER_GEN
public static final long CKM_DH_PKCS_PARAMETER_GEN
public static final long CKM_X9_42_DH_PARAMETER_GEN
public static final long CKM_VENDOR_DEFINED
public static final long CKM_SHA224
public static final long CKM_SHA224_HMAC
public static final long CKM_SHA224_HMAC_GENERAL
public static final long CKM_SHA224_KEY_DERIVATION
public static final long CKM_SHA224_RSA_PKCS
public static final long CKM_SHA224_RSA_PKCS_PSS
public static final long CKM_AES_CTR
public static final long CKM_NSS_TLS_PRF_GENERAL
public static final long PCKM_SECURERANDOM
public static final long PCKM_KEYSTORE
public static final long CKF_HW
public static final long CKF_ENCRYPT
public static final long CKF_DECRYPT
public static final long CKF_DIGEST
public static final long CKF_SIGN
public static final long CKF_SIGN_RECOVER
public static final long CKF_VERIFY
public static final long CKF_VERIFY_RECOVER
public static final long CKF_GENERATE
public static final long CKF_GENERATE_KEY_PAIR
public static final long CKF_WRAP
public static final long CKF_UNWRAP
public static final long CKF_DERIVE
public static final long CKF_EC_F_P
public static final long CKF_EC_F_2M
public static final long CKF_EC_ECPARAMETERS
public static final long CKF_EC_NAMEDCURVE
public static final long CKF_EC_UNCOMPRESS
public static final long CKF_EC_COMPRESS
public static final long CKF_EXTENSION
public static final long CKR_OK
public static final long CKR_CANCEL
public static final long CKR_HOST_MEMORY
public static final long CKR_SLOT_ID_INVALID
public static final long CKR_GENERAL_ERROR
public static final long CKR_FUNCTION_FAILED
public static final long CKR_ARGUMENTS_BAD
public static final long CKR_NO_EVENT
public static final long CKR_NEED_TO_CREATE_THREADS
public static final long CKR_CANT_LOCK
public static final long CKR_ATTRIBUTE_READ_ONLY
public static final long CKR_ATTRIBUTE_SENSITIVE
public static final long CKR_ATTRIBUTE_TYPE_INVALID
public static final long CKR_ATTRIBUTE_VALUE_INVALID
public static final long CKR_DATA_INVALID
public static final long CKR_DATA_LEN_RANGE
public static final long CKR_DEVICE_ERROR
public static final long CKR_DEVICE_MEMORY
public static final long CKR_DEVICE_REMOVED
public static final long CKR_ENCRYPTED_DATA_INVALID
public static final long CKR_ENCRYPTED_DATA_LEN_RANGE
public static final long CKR_FUNCTION_CANCELED
public static final long CKR_FUNCTION_NOT_PARALLEL
public static final long CKR_FUNCTION_NOT_SUPPORTED
public static final long CKR_KEY_HANDLE_INVALID
public static final long CKR_KEY_SIZE_RANGE
public static final long CKR_KEY_TYPE_INCONSISTENT
public static final long CKR_KEY_NOT_NEEDED
public static final long CKR_KEY_CHANGED
public static final long CKR_KEY_NEEDED
public static final long CKR_KEY_INDIGESTIBLE
public static final long CKR_KEY_FUNCTION_NOT_PERMITTED
public static final long CKR_KEY_NOT_WRAPPABLE
public static final long CKR_KEY_UNEXTRACTABLE
public static final long CKR_MECHANISM_INVALID
public static final long CKR_MECHANISM_PARAM_INVALID
public static final long CKR_OBJECT_HANDLE_INVALID
public static final long CKR_OPERATION_ACTIVE
public static final long CKR_OPERATION_NOT_INITIALIZED
public static final long CKR_PIN_INCORRECT
public static final long CKR_PIN_INVALID
public static final long CKR_PIN_LEN_RANGE
public static final long CKR_PIN_EXPIRED
public static final long CKR_PIN_LOCKED
public static final long CKR_SESSION_CLOSED
public static final long CKR_SESSION_COUNT
public static final long CKR_SESSION_HANDLE_INVALID
public static final long CKR_SESSION_PARALLEL_NOT_SUPPORTED
public static final long CKR_SESSION_READ_ONLY
public static final long CKR_SESSION_EXISTS
public static final long CKR_SESSION_READ_ONLY_EXISTS
public static final long CKR_SESSION_READ_WRITE_SO_EXISTS
public static final long CKR_SIGNATURE_INVALID
public static final long CKR_SIGNATURE_LEN_RANGE
public static final long CKR_TEMPLATE_INCOMPLETE
public static final long CKR_TEMPLATE_INCONSISTENT
public static final long CKR_TOKEN_NOT_PRESENT
public static final long CKR_TOKEN_NOT_RECOGNIZED
public static final long CKR_TOKEN_WRITE_PROTECTED
public static final long CKR_UNWRAPPING_KEY_HANDLE_INVALID
public static final long CKR_UNWRAPPING_KEY_SIZE_RANGE
public static final long CKR_UNWRAPPING_KEY_TYPE_INCONSISTENT
public static final long CKR_USER_ALREADY_LOGGED_IN
public static final long CKR_USER_NOT_LOGGED_IN
public static final long CKR_USER_PIN_NOT_INITIALIZED
public static final long CKR_USER_TYPE_INVALID
public static final long CKR_USER_ANOTHER_ALREADY_LOGGED_IN
public static final long CKR_USER_TOO_MANY_TYPES
public static final long CKR_WRAPPED_KEY_INVALID
public static final long CKR_WRAPPED_KEY_LEN_RANGE
public static final long CKR_WRAPPING_KEY_HANDLE_INVALID
public static final long CKR_WRAPPING_KEY_SIZE_RANGE
public static final long CKR_WRAPPING_KEY_TYPE_INCONSISTENT
public static final long CKR_RANDOM_SEED_NOT_SUPPORTED
public static final long CKR_RANDOM_NO_RNG
public static final long CKR_DOMAIN_PARAMS_INVALID
public static final long CKR_BUFFER_TOO_SMALL
public static final long CKR_SAVED_STATE_INVALID
public static final long CKR_INFORMATION_SENSITIVE
public static final long CKR_STATE_UNSAVEABLE
public static final long CKR_CRYPTOKI_NOT_INITIALIZED
public static final long CKR_CRYPTOKI_ALREADY_INITIALIZED
public static final long CKR_MUTEX_BAD
public static final long CKR_MUTEX_NOT_LOCKED
public static final long CKR_VENDOR_DEFINED
public static final long CKF_LIBRARY_CANT_CREATE_OS_THREADS
public static final long CKF_OS_LOCKING_OK
public static final long CKF_DONT_BLOCK
public static final long CKG_MGF1_SHA1
public static final long CKG_MGF1_SHA224
public static final long CKZ_DATA_SPECIFIED
public static final long CKP_PKCS5_PBKD2_HMAC_SHA1
public static final long CKZ_SALT_SPECIFIED
public static final long CKD_NULL
public static final long CKD_SHA1_KDF
public static final long CKD_SHA1_KDF_ASN1
public static final long CKD_SHA1_KDF_CONCATENATE
public static final long CKA_NETSCAPE_DB
public static final long CKA_NETSCAPE_BASE
public static final long CKO_NETSCAPE_TRUST
public static final long CKA_NETSCAPE_TRUST_BASE
public static final long CKA_NETSCAPE_TRUST_SERVER_AUTH
public static final long CKA_NETSCAPE_TRUST_CLIENT_AUTH
public static final long CKA_NETSCAPE_TRUST_CODE_SIGNING
public static final long CKA_NETSCAPE_TRUST_EMAIL_PROTECTION
public static final long CKA_NETSCAPE_CERT_SHA1_HASH
public static final long CKA_NETSCAPE_CERT_MD5_HASH
public static final long CKT_NETSCAPE_TRUSTED
public static final long CKT_NETSCAPE_TRUSTED_DELEGATOR
public static final long CKT_NETSCAPE_UNTRUSTED
public static final long CKT_NETSCAPE_MUST_VERIFY
public static final long CKT_NETSCAPE_TRUST_UNKNOWN
public static final long CKT_NETSCAPE_VALID
public static final long CKT_NETSCAPE_VALID_DELEGATOR
static void <clinit> ()
}
sun/security/pkcs11/wrapper/PKCS11Exception.class
PKCS11Exception.java
package sun.security.pkcs11.wrapper
public sun.security.pkcs11.wrapper.PKCS11Exception extends java.lang.Exception {
private static final long serialVersionUID
protected long errorCode_
private static final java.util.Map errorMap
public void <init> (long)
public java.lang.String getMessage ()
public long getErrorCode ()
static void <clinit> ()
}
sun/security/pkcs11/wrapper/PKCS11RuntimeException.class
PKCS11RuntimeException.java
package sun.security.pkcs11.wrapper
public sun.security.pkcs11.wrapper.PKCS11RuntimeException extends java.lang.RuntimeException {
private static final long serialVersionUID
public void <init> ()
public void <init> (java.lang.String)
public void <init> (java.lang.Exception)
public void <init> (java.lang.String, java.lang.Exception)
}