Package | Description |
---|---|
javax.microedition.pki |
This package defines classes to support
basic user certificate management.
|
javax.microedition.securityservice |
This package defines classes to generate
application-level digital signatures that conform to the Cryptographic
Message Syntax (CMS) format.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
UserCredentialManager.addCredential(java.lang.String certDisplayName,
byte[] pkiPath,
java.lang.String uri)
Adds a user certificate or certificate
URI to a certificate store.
|
static byte[] |
UserCredentialManager.generateCSR(java.lang.String nameInfo,
java.lang.String algorithm,
int keyLen,
int keyUsage,
java.lang.String securityElementID,
java.lang.String securityElementPrompt,
boolean forceKeyGen)
Creates a DER encoded PKCS#10 certificate enrollment request.
|
static boolean |
UserCredentialManager.removeCredential(java.lang.String certDisplayName,
byte[] issuerAndSerialNumber,
java.lang.String securityElementID,
java.lang.String securityElementPrompt)
Removes a certificate or certificate
URI from a certificate store.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
CMSMessageSignatureService.authenticate(byte[] byteArrayToAuthenticate,
int options,
java.lang.String[] caNames,
java.lang.String securityElementPrompt)
Generates a signature that may be used for
authentication purposes.
|
static byte[] |
CMSMessageSignatureService.authenticate(java.lang.String stringToAuthenticate,
int options,
java.lang.String[] caNames,
java.lang.String securityElementPrompt)
Generates a signature that may be used for
authentication purposes.
|
static byte[] |
CMSMessageSignatureService.sign(java.lang.String stringToSign,
int options,
java.lang.String[] caNames,
java.lang.String securityElementPrompt)
Generates a CMS signed message.
|
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.