java.security
98 classes of the module java.base.
Load them with:
using {
"java.security"
}
AccessControlContext#
class final · extends Object · java.security.AccessControlContext
Constructors
new AccessControlContext(ProtectionDomain[] context) |
new AccessControlContext(AccessControlContext acc, DomainCombiner combiner) |
Ring: new AccessControlContext(args) uses the constructor with the fewest parameters (at least one); new AccessControlContext makes the object with the constructor without parameters; the others: (new AccessControlContext).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
checkPermission | checkPermission(perm) | void checkPermission(Permission perm) |
getDomainCombiner | getDomainCombiner() | DomainCombiner getDomainCombiner() |
The methods and fields of Object are inherited.
AccessControlException#
class · extends SecurityException · java.security.AccessControlException
Constructors
new AccessControlException(String s) |
new AccessControlException(String s, Permission p) |
Ring: new AccessControlException(args) uses the constructor with the fewest parameters (at least one); new AccessControlException makes the object with the constructor without parameters; the others: (new AccessControlException).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getPermission | getPermission() | Permission getPermission() |
The methods and fields of SecurityException are inherited.
AccessController#
class final · extends Object · java.security.AccessController
Methods
| Method | Ring call | Java overloads |
|---|---|---|
checkPermission | checkPermission(perm) | static void checkPermission(Permission perm) |
doPrivileged | doPrivileged(action)doPrivileged([action,context])doPrivileged([ :action = v, :context = v ])doPrivileged([action,context,perms])doPrivileged([ :action = v, :context = v, :perms = v ]) | static Object doPrivileged(PrivilegedAction action)static Object doPrivileged(PrivilegedExceptionAction action)static Object doPrivileged(PrivilegedExceptionAction action, AccessControlContext context)static Object doPrivileged(PrivilegedAction action, AccessControlContext context)static Object doPrivileged(PrivilegedExceptionAction action, AccessControlContext context, Permission[] perms)static Object doPrivileged(PrivilegedAction action, AccessControlContext context, Permission[] perms) |
doPrivilegedWithCombiner | doPrivilegedWithCombiner(action)doPrivilegedWithCombiner([action,context,perms])doPrivilegedWithCombiner([ :action = v, :context = v, :perms = v ]) | static Object doPrivilegedWithCombiner(PrivilegedExceptionAction action)static Object doPrivilegedWithCombiner(PrivilegedAction action)static Object doPrivilegedWithCombiner(PrivilegedExceptionAction action, AccessControlContext context, Permission[] perms)static Object doPrivilegedWithCombiner(PrivilegedAction action, AccessControlContext context, Permission[] perms) |
getContext | getContext() | static AccessControlContext getContext() |
The methods and fields of Object are inherited.
AlgorithmConstraints#
interface · java.security.AlgorithmConstraints
Methods
| Method | Ring call | Java overloads |
|---|---|---|
permits | permits([primitives,key])permits([ :primitives = v, :key = v ])permits([primitives,algorithm,parameters])permits([ :primitives = v, :algorithm = v, :parameters = v ])permits([primitives,algorithm,key,parameters])permits([ :primitives = v, :algorithm = v, :key = v, :parameters = v ]) | boolean permits(Set primitives, Key key)boolean permits(Set primitives, String algorithm, AlgorithmParameters parameters)boolean permits(Set primitives, String algorithm, Key key, AlgorithmParameters parameters) |
AlgorithmParameterGenerator#
class · extends Object · java.security.AlgorithmParameterGenerator
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@init | @init(size)@init([size,random])@init([ :size = v, :random = v ]) | void init(int size)void init(AlgorithmParameterSpec genParamSpec)void init(int size, SecureRandom random)void init(AlgorithmParameterSpec genParamSpec, SecureRandom random) |
generateParameters | generateParameters() | AlgorithmParameters generateParameters() |
getAlgorithm | getAlgorithm() | String getAlgorithm() |
getInstance | getInstance(algorithm)getInstance([algorithm,provider])getInstance([ :algorithm = v, :provider = v ]) | static AlgorithmParameterGenerator getInstance(String algorithm)static AlgorithmParameterGenerator getInstance(String algorithm, Provider provider)static AlgorithmParameterGenerator getInstance(String algorithm, String provider) |
getProvider | getProvider() | Provider getProvider() |
The methods and fields of Object are inherited.
AlgorithmParameterGeneratorSpi#
abstract · extends Object · java.security.AlgorithmParameterGeneratorSpi
The methods and fields of Object are inherited.
AlgorithmParameters#
class · extends Object · java.security.AlgorithmParameters
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@getEncoded | @getEncoded(format) | byte[] getEncoded(String format) |
@init | @init(params)@init([params,format])@init([ :params = v, :format = v ]) | void init(byte[] params)void init(AlgorithmParameterSpec paramSpec)void init(byte[] params, String format) |
getAlgorithm | getAlgorithm() | String getAlgorithm() |
getEncoded | getEncoded() | byte[] getEncoded() |
getInstance | getInstance(algorithm)getInstance([algorithm,provider])getInstance([ :algorithm = v, :provider = v ]) | static AlgorithmParameters getInstance(String algorithm)static AlgorithmParameters getInstance(String algorithm, Provider provider)static AlgorithmParameters getInstance(String algorithm, String provider) |
getParameterSpec | getParameterSpec(paramSpec) | AlgorithmParameterSpec getParameterSpec(Class paramSpec) |
getProvider | getProvider() | Provider getProvider() |
The methods and fields of Object are inherited.
AlgorithmParametersSpi#
abstract · extends Object · java.security.AlgorithmParametersSpi
The methods and fields of Object are inherited.
AllPermission#
class final · extends Permission · java.security.AllPermission
Constructors
new AllPermission() |
new AllPermission(String name, String actions) |
Ring: new AllPermission(args) uses the constructor with the fewest parameters (at least one); new AllPermission makes the object with the constructor without parameters; the others: (new AllPermission).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of Permission are inherited.
AsymmetricKey#
interface · java.security.AsymmetricKey
Extends: Key, DEREncodable
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
serialVersionUID | long | constant · static | o.serialVersionUID |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAlgorithm | getAlgorithm() | String getAlgorithm() |
getEncoded | getEncoded() | byte[] getEncoded() |
getFormat | getFormat() | String getFormat() |
getParams | getParams() | AlgorithmParameterSpec getParams() |
AuthProvider#
abstract · extends Provider · java.security.AuthProvider
Methods
| Method | Ring call | Java overloads |
|---|---|---|
login | login(subject,handler) | void login(Subject subject, CallbackHandler handler) |
logout | logout() | void logout() |
setCallbackHandler | setCallbackHandler(handler) | void setCallbackHandler(CallbackHandler handler) |
The methods and fields of Provider are inherited.
BasicPermission#
abstract · extends Permission · java.security.BasicPermission
Implements: Serializable
The methods and fields of Permission are inherited.
Certificate#
interface · java.security.Certificate
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@toString | @toString(detailed) | String toString(boolean detailed) |
decode | decode(stream) | void decode(InputStream stream) |
encode | encode(stream) | void encode(OutputStream stream) |
getFormat | getFormat() | String getFormat() |
getGuarantor | getGuarantor() | Principal getGuarantor() |
getPrincipal | getPrincipal() | Principal getPrincipal() |
getPublicKey | getPublicKey() | PublicKey getPublicKey() |
CodeSigner#
class final · extends Object · java.security.CodeSigner
Implements: Serializable
Constructors
new CodeSigner(CertPath signerCertPath, Timestamp timestamp) |
Ring: new CodeSigner(args) uses the constructor with the fewest parameters (at least one); new CodeSigner makes the object with the constructor without parameters; the others: (new CodeSigner).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getSignerCertPath | getSignerCertPath() | CertPath getSignerCertPath() |
getTimestamp | getTimestamp() | Timestamp getTimestamp() |
The methods and fields of Object are inherited.
CodeSource#
class · extends Object · java.security.CodeSource
Implements: Serializable
Constructors
new CodeSource(URL url, Certificate[] certs) |
new CodeSource(URL url, CodeSigner[] signers) |
Ring: new CodeSource(args) uses the constructor with the fewest parameters (at least one); new CodeSource makes the object with the constructor without parameters; the others: (new CodeSource).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getCertificates | getCertificates() | Certificate[] getCertificates() |
getCodeSigners | getCodeSigners() | CodeSigner[] getCodeSigners() |
getLocation | getLocation() | URL getLocation() |
implies | implies(codesource) | boolean implies(CodeSource codesource) |
The methods and fields of Object are inherited.
CryptoPrimitive#
enum · extends Enum · java.security.CryptoPrimitive
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
MESSAGE_DIGEST | CryptoPrimitive | constant · static | o.MESSAGE_DIGEST |
SECURE_RANDOM | CryptoPrimitive | constant · static | o.SECURE_RANDOM |
BLOCK_CIPHER | CryptoPrimitive | constant · static | o.BLOCK_CIPHER |
STREAM_CIPHER | CryptoPrimitive | constant · static | o.STREAM_CIPHER |
MAC | CryptoPrimitive | constant · static | o.MAC |
KEY_WRAP | CryptoPrimitive | constant · static | o.KEY_WRAP |
PUBLIC_KEY_ENCRYPTION | CryptoPrimitive | constant · static | o.PUBLIC_KEY_ENCRYPTION |
SIGNATURE | CryptoPrimitive | constant · static | o.SIGNATURE |
KEY_ENCAPSULATION | CryptoPrimitive | constant · static | o.KEY_ENCAPSULATION |
KEY_AGREEMENT | CryptoPrimitive | constant · static | o.KEY_AGREEMENT |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
valueOf | valueOf(p1)valueOf([enumClass,name])valueOf([ :enumClass = v, :name = v ]) | static CryptoPrimitive valueOf(String p1)static Enum valueOf(Class enumClass, String name) |
values | values() | static CryptoPrimitive[] values() |
The methods and fields of Enum are inherited.
DEREncodable#
interface · java.security.DEREncodable
DigestException#
class · extends GeneralSecurityException · java.security.DigestException
Constructors
new DigestException() |
new DigestException(Throwable cause) |
new DigestException(String msg) |
new DigestException(String message, Throwable cause) |
Ring: new DigestException(args) uses the constructor with the fewest parameters (at least one); new DigestException makes the object with the constructor without parameters; the others: (new DigestException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of GeneralSecurityException are inherited.
DigestInputStream#
class · extends FilterInputStream · java.security.DigestInputStream
Constructors
new DigestInputStream(InputStream stream, MessageDigest digest) |
Ring: new DigestInputStream(args) uses the constructor with the fewest parameters (at least one); new DigestInputStream makes the object with the constructor without parameters; the others: (new DigestInputStream).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getMessageDigest | getMessageDigest() | MessageDigest getMessageDigest() |
on | on(on) | void on(boolean on) |
setMessageDigest | setMessageDigest(digest) | void setMessageDigest(MessageDigest digest) |
The methods and fields of FilterInputStream are inherited.
DigestOutputStream#
class · extends FilterOutputStream · java.security.DigestOutputStream
Constructors
new DigestOutputStream(OutputStream stream, MessageDigest digest) |
Ring: new DigestOutputStream(args) uses the constructor with the fewest parameters (at least one); new DigestOutputStream makes the object with the constructor without parameters; the others: (new DigestOutputStream).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getMessageDigest | getMessageDigest() | MessageDigest getMessageDigest() |
on | on(on) | void on(boolean on) |
setMessageDigest | setMessageDigest(digest) | void setMessageDigest(MessageDigest digest) |
The methods and fields of FilterOutputStream are inherited.
DomainCombiner#
interface · java.security.DomainCombiner
Methods
| Method | Ring call | Java overloads |
|---|---|---|
combine | combine(currentDomains,assignedDomains) | ProtectionDomain[] combine(ProtectionDomain[] currentDomains, ProtectionDomain[] assignedDomains) |
DomainLoadStoreParameter#
class final · extends Object · java.security.DomainLoadStoreParameter
Implements: KeyStoreLoadStoreParameter
Constructors
new DomainLoadStoreParameter(URI configuration, Map protectionParams) |
Ring: new DomainLoadStoreParameter(args) uses the constructor with the fewest parameters (at least one); new DomainLoadStoreParameter makes the object with the constructor without parameters; the others: (new DomainLoadStoreParameter).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getConfiguration | getConfiguration() | URI getConfiguration() |
getProtectionParameter | getProtectionParameter() | ProtectionParameter getProtectionParameter() |
getProtectionParams | getProtectionParams() | Map getProtectionParams() |
The methods and fields of Object are inherited.
DrbgParameters#
class final · extends Object · java.security.DrbgParameters
Methods
| Method | Ring call | Java overloads |
|---|---|---|
instantiation | instantiation(strength,capability,personalizationString) | static Instantiation instantiation(int strength, Capability capability, byte[] personalizationString) |
nextBytes | nextBytes(strength,predictionResistance,additionalInput) | static NextBytes nextBytes(int strength, boolean predictionResistance, byte[] additionalInput) |
reseed | reseed(predictionResistance,additionalInput) | static Reseed reseed(boolean predictionResistance, byte[] additionalInput) |
The methods and fields of Object are inherited.
DrbgParametersCapability#
enum · extends Enum · java.security.DrbgParameters$Capability
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
PR_AND_RESEED | Capability | constant · static | o.PR_AND_RESEED |
RESEED_ONLY | Capability | constant · static | o.RESEED_ONLY |
NONE | Capability | constant · static | o.NONE |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
supportsPredictionResistance | supportsPredictionResistance() | boolean supportsPredictionResistance() |
supportsReseeding | supportsReseeding() | boolean supportsReseeding() |
valueOf | valueOf(p1)valueOf([enumClass,name])valueOf([ :enumClass = v, :name = v ]) | static Capability valueOf(String p1)static Enum valueOf(Class enumClass, String name) |
values | values() | static Capability[] values() |
The methods and fields of Enum are inherited.
DrbgParametersInstantiation#
class final · extends Object · java.security.DrbgParameters$Instantiation
Implements: SecureRandomParameters
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getCapability | getCapability() | Capability getCapability() |
getPersonalizationString | getPersonalizationString() | byte[] getPersonalizationString() |
getStrength | getStrength() | int getStrength() |
The methods and fields of Object are inherited.
DrbgParametersNextBytes#
class final · extends Object · java.security.DrbgParameters$NextBytes
Implements: SecureRandomParameters
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAdditionalInput | getAdditionalInput() | byte[] getAdditionalInput() |
getPredictionResistance | getPredictionResistance() | boolean getPredictionResistance() |
getStrength | getStrength() | int getStrength() |
The methods and fields of Object are inherited.
DrbgParametersReseed#
class final · extends Object · java.security.DrbgParameters$Reseed
Implements: SecureRandomParameters
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAdditionalInput | getAdditionalInput() | byte[] getAdditionalInput() |
getPredictionResistance | getPredictionResistance() | boolean getPredictionResistance() |
The methods and fields of Object are inherited.
GeneralSecurityException#
class · extends Exception · java.security.GeneralSecurityException
Constructors
new GeneralSecurityException() |
new GeneralSecurityException(Throwable cause) |
new GeneralSecurityException(String msg) |
new GeneralSecurityException(String message, Throwable cause) |
Ring: new GeneralSecurityException(args) uses the constructor with the fewest parameters (at least one); new GeneralSecurityException makes the object with the constructor without parameters; the others: (new GeneralSecurityException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of Exception are inherited.
Guard#
interface · java.security.Guard
Methods
| Method | Ring call | Java overloads |
|---|---|---|
checkGuard | checkGuard(object) | void checkGuard(Object object) |
GuardedObject#
class · extends Object · java.security.GuardedObject
Implements: Serializable
Constructors
new GuardedObject(Object object, Guard guard) |
Ring: new GuardedObject(args) uses the constructor with the fewest parameters (at least one); new GuardedObject makes the object with the constructor without parameters; the others: (new GuardedObject).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getObject | getObject() | Object getObject() |
The methods and fields of Object are inherited.
Identity#
abstract · extends Object · java.security.Identity
Implements: Principal, Serializable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@toString | @toString(detailed) | String toString(boolean detailed) |
addCertificate | addCertificate(certificate) | void addCertificate(Certificate certificate) |
certificates | certificates() | Certificate[] certificates() |
getInfo | getInfo() | String getInfo() |
getName | getName() | String getName() |
getPublicKey | getPublicKey() | PublicKey getPublicKey() |
getScope | getScope() | IdentityScope getScope() |
implies | implies(subject) | boolean implies(Subject subject) |
removeCertificate | removeCertificate(certificate) | void removeCertificate(Certificate certificate) |
setInfo | setInfo(info) | void setInfo(String info) |
setPublicKey | setPublicKey(key) | void setPublicKey(PublicKey key) |
The methods and fields of Object are inherited.
IdentityScope#
abstract · extends Identity · java.security.IdentityScope
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addIdentity | addIdentity(identity) | void addIdentity(Identity identity) |
getIdentity | getIdentity(key) | Identity getIdentity(PublicKey key)Identity getIdentity(Principal principal)Identity getIdentity(String name) |
getSystemScope | getSystemScope() | static IdentityScope getSystemScope() |
identities | identities() | Enumeration identities() |
removeIdentity | removeIdentity(identity) | void removeIdentity(Identity identity) |
size | size() | int size() |
The methods and fields of Identity are inherited.
InvalidAlgorithmParameterException#
class · extends GeneralSecurityException · java.security.InvalidAlgorithmParameterException
Constructors
new InvalidAlgorithmParameterException() |
new InvalidAlgorithmParameterException(Throwable cause) |
new InvalidAlgorithmParameterException(String msg) |
new InvalidAlgorithmParameterException(String message, Throwable cause) |
Ring: new InvalidAlgorithmParameterException(args) uses the constructor with the fewest parameters (at least one); new InvalidAlgorithmParameterException makes the object with the constructor without parameters; the others: (new InvalidAlgorithmParameterException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of GeneralSecurityException are inherited.
InvalidKeyException#
class · extends KeyException · java.security.InvalidKeyException
Constructors
new InvalidKeyException() |
new InvalidKeyException(Throwable cause) |
new InvalidKeyException(String msg) |
new InvalidKeyException(String message, Throwable cause) |
Ring: new InvalidKeyException(args) uses the constructor with the fewest parameters (at least one); new InvalidKeyException makes the object with the constructor without parameters; the others: (new InvalidKeyException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of KeyException are inherited.
InvalidParameterException#
class · extends IllegalArgumentException · java.security.InvalidParameterException
Constructors
new InvalidParameterException() |
new InvalidParameterException(Throwable cause) |
new InvalidParameterException(String msg) |
new InvalidParameterException(String msg, Throwable cause) |
Ring: new InvalidParameterException(args) uses the constructor with the fewest parameters (at least one); new InvalidParameterException makes the object with the constructor without parameters; the others: (new InvalidParameterException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of IllegalArgumentException are inherited.
Key#
interface · java.security.Key
Extends: Serializable
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
serialVersionUID | long | constant · static | o.serialVersionUID |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAlgorithm | getAlgorithm() | String getAlgorithm() |
getEncoded | getEncoded() | byte[] getEncoded() |
getFormat | getFormat() | String getFormat() |
KeyException#
class · extends GeneralSecurityException · java.security.KeyException
Constructors
new KeyException() |
new KeyException(Throwable cause) |
new KeyException(String msg) |
new KeyException(String message, Throwable cause) |
Ring: new KeyException(args) uses the constructor with the fewest parameters (at least one); new KeyException makes the object with the constructor without parameters; the others: (new KeyException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of GeneralSecurityException are inherited.
KeyFactory#
class · extends Object · java.security.KeyFactory
Methods
| Method | Ring call | Java overloads |
|---|---|---|
generatePrivate | generatePrivate(keySpec) | PrivateKey generatePrivate(KeySpec keySpec) |
generatePublic | generatePublic(keySpec) | PublicKey generatePublic(KeySpec keySpec) |
getAlgorithm | getAlgorithm() | String getAlgorithm() |
getInstance | getInstance(algorithm)getInstance([algorithm,provider])getInstance([ :algorithm = v, :provider = v ]) | static KeyFactory getInstance(String algorithm)static KeyFactory getInstance(String algorithm, String provider)static KeyFactory getInstance(String algorithm, Provider provider) |
getKeySpec | getKeySpec(key,keySpec) | KeySpec getKeySpec(Key key, Class keySpec) |
getProvider | getProvider() | Provider getProvider() |
translateKey | translateKey(key) | Key translateKey(Key key) |
The methods and fields of Object are inherited.
KeyFactorySpi#
abstract · extends Object · java.security.KeyFactorySpi
The methods and fields of Object are inherited.
KeyManagementException#
class · extends KeyException · java.security.KeyManagementException
Constructors
new KeyManagementException() |
new KeyManagementException(Throwable cause) |
new KeyManagementException(String msg) |
new KeyManagementException(String message, Throwable cause) |
Ring: new KeyManagementException(args) uses the constructor with the fewest parameters (at least one); new KeyManagementException makes the object with the constructor without parameters; the others: (new KeyManagementException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of KeyException are inherited.
KeyPair#
class final · extends Object · java.security.KeyPair
Implements: Serializable, DEREncodable
Constructors
new KeyPair(PublicKey publicKey, PrivateKey privateKey) |
Ring: new KeyPair(args) uses the constructor with the fewest parameters (at least one); new KeyPair makes the object with the constructor without parameters; the others: (new KeyPair).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getPrivate | getPrivate() | PrivateKey getPrivate() |
getPublic | getPublic() | PublicKey getPublic() |
The methods and fields of Object are inherited.
KeyPairGenerator#
abstract · extends KeyPairGeneratorSpi · java.security.KeyPairGenerator
Methods
| Method | Ring call | Java overloads |
|---|---|---|
genKeyPair | genKeyPair() | KeyPair genKeyPair() |
getAlgorithm | getAlgorithm() | String getAlgorithm() |
getInstance | getInstance(algorithm)getInstance([algorithm,provider])getInstance([ :algorithm = v, :provider = v ]) | static KeyPairGenerator getInstance(String algorithm)static KeyPairGenerator getInstance(String algorithm, Provider provider)static KeyPairGenerator getInstance(String algorithm, String provider) |
getProvider | getProvider() | Provider getProvider() |
initialize | initialize(params)initialize([keysize,random])initialize([ :keysize = v, :random = v ]) | void initialize(AlgorithmParameterSpec params)void initialize(int keysize)void initialize(int keysize, SecureRandom random)void initialize(AlgorithmParameterSpec params, SecureRandom random) |
The methods and fields of KeyPairGeneratorSpi are inherited.
KeyPairGeneratorSpi#
abstract · extends Object · java.security.KeyPairGeneratorSpi
Methods
| Method | Ring call | Java overloads |
|---|---|---|
generateKeyPair | generateKeyPair() | KeyPair generateKeyPair() |
initialize | initialize(params,random) | void initialize(AlgorithmParameterSpec params, SecureRandom random)void initialize(int keysize, SecureRandom random) |
The methods and fields of Object are inherited.
KeyRep#
class · extends Object · java.security.KeyRep
Implements: Serializable
Constructors
new KeyRep(Type type, String algorithm, String format, byte[] encoded) |
Ring: new KeyRep(args) uses the constructor with the fewest parameters (at least one); new KeyRep makes the object with the constructor without parameters; the others: (new KeyRep).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of Object are inherited.
KeyRepType#
enum · extends Enum · java.security.KeyRep$Type
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
SECRET | Type | constant · static | o.SECRET |
PUBLIC | Type | constant · static | o.PUBLIC |
PRIVATE | Type | constant · static | o.@PRIVATE |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
valueOf | valueOf(p1)valueOf([enumClass,name])valueOf([ :enumClass = v, :name = v ]) | static Type valueOf(String p1)static Enum valueOf(Class enumClass, String name) |
values | values() | static Type[] values() |
The methods and fields of Enum are inherited.
KeyStore#
class · extends Object · java.security.KeyStore
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@load | @load(param)@load([stream,password])@load([ :stream = v, :password = v ]) | void load(LoadStoreParameter param)void load(InputStream stream, char[] password) |
aliases | aliases() | Enumeration aliases() |
containsAlias | containsAlias(alias) | boolean containsAlias(String alias) |
deleteEntry | deleteEntry(alias) | void deleteEntry(String alias) |
entryInstanceOf | entryInstanceOf(alias,entryClass) | boolean entryInstanceOf(String alias, Class entryClass) |
getAttributes | getAttributes(alias) | Set getAttributes(String alias) |
getCertificate | getCertificate(alias) | Certificate getCertificate(String alias) |
getCertificateAlias | getCertificateAlias(cert) | String getCertificateAlias(Certificate cert) |
getCertificateChain | getCertificateChain(alias) | Certificate[] getCertificateChain(String alias) |
getCreationDate | getCreationDate(alias) | Date getCreationDate(String alias) |
getDefaultType | getDefaultType() | static String getDefaultType() |
getEntry | getEntry(alias,protParam) | Entry getEntry(String alias, ProtectionParameter protParam) |
getInstance | getInstance(type)getInstance([file,password])getInstance([ :file = v, :password = v ]) | static KeyStore getInstance(String type)static KeyStore getInstance(File file, char[] password)static KeyStore getInstance(String type, Provider provider)static KeyStore getInstance(String type, String provider)static KeyStore getInstance(File file, LoadStoreParameter param) |
getKey | getKey(alias,password) | Key getKey(String alias, char[] password) |
getProvider | getProvider() | Provider getProvider() |
getType | getType() | String getType() |
isCertificateEntry | isCertificateEntry(alias) | boolean isCertificateEntry(String alias) |
isKeyEntry | isKeyEntry(alias) | boolean isKeyEntry(String alias) |
setCertificateEntry | setCertificateEntry(alias,cert) | void setCertificateEntry(String alias, Certificate cert) |
setEntry | setEntry(alias,entry,protParam) | void setEntry(String alias, Entry entry, ProtectionParameter protParam) |
setKeyEntry | setKeyEntry([alias,key,chain])setKeyEntry([ :alias = v, :key = v, :chain = v ])setKeyEntry([alias,key,password,chain])setKeyEntry([ :alias = v, :key = v, :password = v, :chain = v ]) | void setKeyEntry(String alias, byte[] key, Certificate[] chain)void setKeyEntry(String alias, Key key, char[] password, Certificate[] chain) |
size | size() | int size() |
store | store(param)store([stream,password])store([ :stream = v, :password = v ]) | void store(LoadStoreParameter param)void store(OutputStream stream, char[] password) |
The methods and fields of Object are inherited.
KeyStoreBuilder#
abstract · extends Object · java.security.KeyStore$Builder
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getKeyStore | getKeyStore() | KeyStore getKeyStore() |
getProtectionParameter | getProtectionParameter(alias) | ProtectionParameter getProtectionParameter(String alias) |
newInstance | newInstance([file,protection])newInstance([ :file = v, :protection = v ])newInstance([type,provider,protection])newInstance([ :type = v, :provider = v, :protection = v ])newInstance([type,provider,file,protection])newInstance([ :type = v, :provider = v, :file = v, :protection = v ]) | static Builder newInstance(File file, ProtectionParameter protection)static Builder newInstance(KeyStore keyStore, ProtectionParameter protectionParameter)static Builder newInstance(String type, Provider provider, ProtectionParameter protection)static Builder newInstance(String type, Provider provider, File file, ProtectionParameter protection) |
The methods and fields of Object are inherited.
KeyStoreCallbackHandlerProtection#
class · extends Object · java.security.KeyStore$CallbackHandlerProtection
Implements: KeyStoreProtectionParameter
Constructors
new KeyStoreCallbackHandlerProtection(CallbackHandler handler) |
Ring: new KeyStoreCallbackHandlerProtection(args) uses the constructor with the fewest parameters (at least one); new KeyStoreCallbackHandlerProtection makes the object with the constructor without parameters; the others: (new KeyStoreCallbackHandlerProtection).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getCallbackHandler | getCallbackHandler() | CallbackHandler getCallbackHandler() |
The methods and fields of Object are inherited.
KeyStoreEntry#
interface · java.security.KeyStore$Entry
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAttributes | getAttributes() | Set getAttributes() |
KeyStoreEntryAttribute#
interface · java.security.KeyStore$Entry$Attribute
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getName | getName() | String getName() |
getValue | getValue() | String getValue() |
KeyStoreException#
class · extends GeneralSecurityException · java.security.KeyStoreException
Constructors
new KeyStoreException() |
new KeyStoreException(Throwable cause) |
new KeyStoreException(String msg) |
new KeyStoreException(String message, Throwable cause) |
Ring: new KeyStoreException(args) uses the constructor with the fewest parameters (at least one); new KeyStoreException makes the object with the constructor without parameters; the others: (new KeyStoreException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of GeneralSecurityException are inherited.
KeyStoreLoadStoreParameter#
interface · java.security.KeyStore$LoadStoreParameter
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getProtectionParameter | getProtectionParameter() | ProtectionParameter getProtectionParameter() |
KeyStorePasswordProtection#
class · extends Object · java.security.KeyStore$PasswordProtection
Implements: KeyStoreProtectionParameter, Destroyable
Constructors
new KeyStorePasswordProtection(char[] password) |
new KeyStorePasswordProtection(char[] password, String protectionAlgorithm, AlgorithmParameterSpec protectionParameters) |
Ring: new KeyStorePasswordProtection(args) uses the constructor with the fewest parameters (at least one); new KeyStorePasswordProtection makes the object with the constructor without parameters; the others: (new KeyStorePasswordProtection).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
destroy | destroy() | void destroy() |
getPassword | getPassword() | char[] getPassword() |
getProtectionAlgorithm | getProtectionAlgorithm() | String getProtectionAlgorithm() |
getProtectionParameters | getProtectionParameters() | AlgorithmParameterSpec getProtectionParameters() |
isDestroyed | isDestroyed() | boolean isDestroyed() |
The methods and fields of Object are inherited.
KeyStorePrivateKeyEntry#
class final · extends Object · java.security.KeyStore$PrivateKeyEntry
Implements: KeyStoreEntry
Constructors
new KeyStorePrivateKeyEntry(PrivateKey privateKey, Certificate[] chain) |
new KeyStorePrivateKeyEntry(PrivateKey privateKey, Certificate[] chain, Set attributes) |
Ring: new KeyStorePrivateKeyEntry(args) uses the constructor with the fewest parameters (at least one); new KeyStorePrivateKeyEntry makes the object with the constructor without parameters; the others: (new KeyStorePrivateKeyEntry).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAttributes | getAttributes() | Set getAttributes() |
getCertificate | getCertificate() | Certificate getCertificate() |
getCertificateChain | getCertificateChain() | Certificate[] getCertificateChain() |
getPrivateKey | getPrivateKey() | PrivateKey getPrivateKey() |
The methods and fields of Object are inherited.
KeyStoreProtectionParameter#
interface · java.security.KeyStore$ProtectionParameter
KeyStoreSecretKeyEntry#
class final · extends Object · java.security.KeyStore$SecretKeyEntry
Implements: KeyStoreEntry
Constructors
new KeyStoreSecretKeyEntry(SecretKey secretKey) |
new KeyStoreSecretKeyEntry(SecretKey secretKey, Set attributes) |
Ring: new KeyStoreSecretKeyEntry(args) uses the constructor with the fewest parameters (at least one); new KeyStoreSecretKeyEntry makes the object with the constructor without parameters; the others: (new KeyStoreSecretKeyEntry).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAttributes | getAttributes() | Set getAttributes() |
getSecretKey | getSecretKey() | SecretKey getSecretKey() |
The methods and fields of Object are inherited.
KeyStoreSpi#
abstract · extends Object · java.security.KeyStoreSpi
Methods
| Method | Ring call | Java overloads |
|---|---|---|
engineAliases | engineAliases() | Enumeration engineAliases() |
engineContainsAlias | engineContainsAlias(alias) | boolean engineContainsAlias(String alias) |
engineDeleteEntry | engineDeleteEntry(alias) | void engineDeleteEntry(String alias) |
engineEntryInstanceOf | engineEntryInstanceOf(alias,entryClass) | boolean engineEntryInstanceOf(String alias, Class entryClass) |
engineGetAttributes | engineGetAttributes(alias) | Set engineGetAttributes(String alias) |
engineGetCertificate | engineGetCertificate(alias) | Certificate engineGetCertificate(String alias) |
engineGetCertificateAlias | engineGetCertificateAlias(cert) | String engineGetCertificateAlias(Certificate cert) |
engineGetCertificateChain | engineGetCertificateChain(alias) | Certificate[] engineGetCertificateChain(String alias) |
engineGetCreationDate | engineGetCreationDate(alias) | Date engineGetCreationDate(String alias) |
engineGetEntry | engineGetEntry(alias,protParam) | Entry engineGetEntry(String alias, ProtectionParameter protParam) |
engineGetKey | engineGetKey(alias,password) | Key engineGetKey(String alias, char[] password) |
engineIsCertificateEntry | engineIsCertificateEntry(alias) | boolean engineIsCertificateEntry(String alias) |
engineIsKeyEntry | engineIsKeyEntry(alias) | boolean engineIsKeyEntry(String alias) |
engineLoad | engineLoad(param)engineLoad([stream,password])engineLoad([ :stream = v, :password = v ]) | void engineLoad(LoadStoreParameter param)void engineLoad(InputStream stream, char[] password) |
engineProbe | engineProbe(stream) | boolean engineProbe(InputStream stream) |
engineSetCertificateEntry | engineSetCertificateEntry(alias,cert) | void engineSetCertificateEntry(String alias, Certificate cert) |
engineSetEntry | engineSetEntry(alias,entry,protParam) | void engineSetEntry(String alias, Entry entry, ProtectionParameter protParam) |
engineSetKeyEntry | engineSetKeyEntry([alias,key,chain])engineSetKeyEntry([ :alias = v, :key = v, :chain = v ])engineSetKeyEntry([alias,key,password,chain])engineSetKeyEntry([ :alias = v, :key = v, :password = v, :chain = v ]) | void engineSetKeyEntry(String alias, byte[] key, Certificate[] chain)void engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) |
engineSize | engineSize() | int engineSize() |
engineStore | engineStore(param)engineStore([stream,password])engineStore([ :stream = v, :password = v ]) | void engineStore(LoadStoreParameter param)void engineStore(OutputStream stream, char[] password) |
The methods and fields of Object are inherited.
KeyStoreTrustedCertificateEntry#
class final · extends Object · java.security.KeyStore$TrustedCertificateEntry
Implements: KeyStoreEntry
Constructors
new KeyStoreTrustedCertificateEntry(Certificate trustedCert) |
new KeyStoreTrustedCertificateEntry(Certificate trustedCert, Set attributes) |
Ring: new KeyStoreTrustedCertificateEntry(args) uses the constructor with the fewest parameters (at least one); new KeyStoreTrustedCertificateEntry makes the object with the constructor without parameters; the others: (new KeyStoreTrustedCertificateEntry).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAttributes | getAttributes() | Set getAttributes() |
getTrustedCertificate | getTrustedCertificate() | Certificate getTrustedCertificate() |
The methods and fields of Object are inherited.
MessageDigest#
abstract · extends MessageDigestSpi · java.security.MessageDigest
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@digest | @digest(input)@digest([buf,offset,len])@digest([ :buf = v, :offset = v, :len = v ]) | byte[] digest(byte[] input)int digest(byte[] buf, int offset, int len) |
digest | digest() | byte[] digest() |
getAlgorithm | getAlgorithm() | String getAlgorithm() |
getDigestLength | getDigestLength() | int getDigestLength() |
getInstance | getInstance(algorithm)getInstance([algorithm,provider])getInstance([ :algorithm = v, :provider = v ]) | static MessageDigest getInstance(String algorithm)static MessageDigest getInstance(String algorithm, String provider)static MessageDigest getInstance(String algorithm, Provider provider) |
getProvider | getProvider() | Provider getProvider() |
isEqual | isEqual(digesta,digestb) | static boolean isEqual(byte[] digesta, byte[] digestb) |
reset | reset() | void reset() |
update | update(input)update([input,offset,len])update([ :input = v, :offset = v, :len = v ]) | void update(ByteBuffer input)void update(byte[] input)void update(byte input)void update(byte[] input, int offset, int len) |
The methods and fields of MessageDigestSpi are inherited.
MessageDigestSpi#
abstract · extends Object · java.security.MessageDigestSpi
Methods
| Method | Ring call | Java overloads |
|---|---|---|
clone | clone() | Object clone() |
The methods and fields of Object are inherited.
NoSuchAlgorithmException#
class · extends GeneralSecurityException · java.security.NoSuchAlgorithmException
Constructors
new NoSuchAlgorithmException() |
new NoSuchAlgorithmException(Throwable cause) |
new NoSuchAlgorithmException(String msg) |
new NoSuchAlgorithmException(String message, Throwable cause) |
Ring: new NoSuchAlgorithmException(args) uses the constructor with the fewest parameters (at least one); new NoSuchAlgorithmException makes the object with the constructor without parameters; the others: (new NoSuchAlgorithmException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of GeneralSecurityException are inherited.
NoSuchProviderException#
class · extends GeneralSecurityException · java.security.NoSuchProviderException
Constructors
new NoSuchProviderException() |
new NoSuchProviderException(String msg) |
Ring: new NoSuchProviderException(args) uses the constructor with the fewest parameters (at least one); new NoSuchProviderException makes the object with the constructor without parameters; the others: (new NoSuchProviderException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of GeneralSecurityException are inherited.
PEMDecoder#
class final · extends Object · java.security.PEMDecoder
Methods
| Method | Ring call | Java overloads |
|---|---|---|
decode | decode(str)decode([is,tClass])decode([ :is = v, :tClass = v ]) | DEREncodable decode(String str)DEREncodable decode(InputStream is)DEREncodable decode(InputStream is, Class tClass)DEREncodable decode(String str, Class tClass) |
of | of() | static PEMDecoder of() |
withDecryption | withDecryption(password) | PEMDecoder withDecryption(char[] password) |
withFactory | withFactory(provider) | PEMDecoder withFactory(Provider provider) |
The methods and fields of Object are inherited.
PEMEncoder#
class final · extends Object · java.security.PEMEncoder
Methods
| Method | Ring call | Java overloads |
|---|---|---|
encode | encode(de) | byte[] encode(DEREncodable de) |
encodeToString | encodeToString(de) | String encodeToString(DEREncodable de) |
of | of() | static PEMEncoder of() |
withEncryption | withEncryption(password) | PEMEncoder withEncryption(char[] password) |
The methods and fields of Object are inherited.
PEMRecord#
record · extends Record · java.security.PEMRecord
Implements: DEREncodable
Constructors
new PEMRecord(String type, String content) |
new PEMRecord(String type, String content, byte[] leadingData) |
Ring: new PEMRecord(args) uses the constructor with the fewest parameters (at least one); new PEMRecord makes the object with the constructor without parameters; the others: (new PEMRecord).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
content | content() | String content() |
leadingData | leadingData() | byte[] leadingData() |
type | type() | String type() |
The methods and fields of Record are inherited.
Permission#
abstract · extends Object · java.security.Permission
Implements: Guard, Serializable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
checkGuard | checkGuard(object) | void checkGuard(Object object) |
getActions | getActions() | String getActions() |
getName | getName() | String getName() |
implies | implies(permission) | boolean implies(Permission permission) |
newPermissionCollection | newPermissionCollection() | PermissionCollection newPermissionCollection() |
The methods and fields of Object are inherited.
PermissionCollection#
abstract · extends Object · java.security.PermissionCollection
Implements: Serializable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
add | add(permission) | void add(Permission permission) |
elements | elements() | Enumeration elements() |
elementsAsStream | elementsAsStream() | Stream elementsAsStream() |
implies | implies(permission) | boolean implies(Permission permission) |
isReadOnly | isReadOnly() | boolean isReadOnly() |
setReadOnly | setReadOnly() | void setReadOnly() |
The methods and fields of Object are inherited.
Permissions#
class final · extends PermissionCollection · java.security.Permissions
Implements: Serializable
Constructors
new Permissions() |
Ring: new Permissions(args) uses the constructor with the fewest parameters (at least one); new Permissions makes the object with the constructor without parameters; the others: (new Permissions).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of PermissionCollection are inherited.
PKCS12Attribute#
class final · extends Object · java.security.PKCS12Attribute
Implements: KeyStoreEntryAttribute
Constructors
new PKCS12Attribute(byte[] encoded) |
new PKCS12Attribute(String name, String value) |
Ring: new PKCS12Attribute(args) uses the constructor with the fewest parameters (at least one); new PKCS12Attribute makes the object with the constructor without parameters; the others: (new PKCS12Attribute).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getEncoded | getEncoded() | byte[] getEncoded() |
getName | getName() | String getName() |
getValue | getValue() | String getValue() |
The methods and fields of Object are inherited.
Policy#
abstract · extends Object · java.security.Policy
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
UNSUPPORTED_EMPTY_COLLECTION | PermissionCollection | constant · static | o.UNSUPPORTED_EMPTY_COLLECTION |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getInstance | getInstance([type,params])getInstance([ :type = v, :params = v ])getInstance([type,params,provider])getInstance([ :type = v, :params = v, :provider = v ]) | static Policy getInstance(String type, Parameters params)static Policy getInstance(String type, Parameters params, String provider)static Policy getInstance(String type, Parameters params, Provider provider) |
getParameters | getParameters() | Parameters getParameters() |
getPermissions | getPermissions(domain) | PermissionCollection getPermissions(ProtectionDomain domain)PermissionCollection getPermissions(CodeSource codesource) |
getPolicy | getPolicy() | static Policy getPolicy() |
getProvider | getProvider() | Provider getProvider() |
getType | getType() | String getType() |
implies | implies(domain,permission) | boolean implies(ProtectionDomain domain, Permission permission) |
refresh | refresh() | void refresh() |
setPolicy | setPolicy(p) | static void setPolicy(Policy p) |
The methods and fields of Object are inherited.
PolicyParameters#
interface · java.security.Policy$Parameters
PolicySpi#
abstract · extends Object · java.security.PolicySpi
The methods and fields of Object are inherited.
Principal#
interface · java.security.Principal
Methods
| Method | Ring call | Java overloads |
|---|---|---|
equals | equals(another) | boolean equals(Object another) |
getName | getName() | String getName() |
hashCode | hashCode() | int hashCode() |
implies | implies(subject) | boolean implies(Subject subject) |
PrivateKey#
interface · java.security.PrivateKey
Extends: AsymmetricKey, Destroyable
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
serialVersionUID | long | constant · static | o.serialVersionUID |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
destroy | destroy() | void destroy() |
getAlgorithm | getAlgorithm() | String getAlgorithm() |
getEncoded | getEncoded() | byte[] getEncoded() |
getFormat | getFormat() | String getFormat() |
getParams | getParams() | AlgorithmParameterSpec getParams() |
isDestroyed | isDestroyed() | boolean isDestroyed() |
PrivilegedAction#
interface · java.security.PrivilegedAction
Methods
| Method | Ring call | Java overloads |
|---|---|---|
run | run() | Object run() |
PrivilegedActionException#
class · extends Exception · java.security.PrivilegedActionException
Constructors
new PrivilegedActionException(Exception exception) |
Ring: new PrivilegedActionException(args) uses the constructor with the fewest parameters (at least one); new PrivilegedActionException makes the object with the constructor without parameters; the others: (new PrivilegedActionException).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getException | getException() | Exception getException() |
The methods and fields of Exception are inherited.
PrivilegedExceptionAction#
interface · java.security.PrivilegedExceptionAction
Methods
| Method | Ring call | Java overloads |
|---|---|---|
run | run() | Object run() |
ProtectionDomain#
class · extends Object · java.security.ProtectionDomain
Constructors
new ProtectionDomain(CodeSource codesource, PermissionCollection permissions) |
new ProtectionDomain(CodeSource codesource, PermissionCollection permissions, ClassLoader classloader, Principal[] principals) |
Ring: new ProtectionDomain(args) uses the constructor with the fewest parameters (at least one); new ProtectionDomain makes the object with the constructor without parameters; the others: (new ProtectionDomain).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getClassLoader | getClassLoader() | ClassLoader getClassLoader() |
getCodeSource | getCodeSource() | CodeSource getCodeSource() |
getPermissions | getPermissions() | PermissionCollection getPermissions() |
getPrincipals | getPrincipals() | Principal[] getPrincipals() |
implies | implies(perm) | boolean implies(Permission perm) |
staticPermissionsOnly | staticPermissionsOnly() | boolean staticPermissionsOnly() |
The methods and fields of Object are inherited.
Provider#
abstract · extends Properties · java.security.Provider
Methods
| Method | Ring call | Java overloads |
|---|---|---|
configure | configure(configArg) | Provider configure(String configArg) |
getInfo | getInfo() | String getInfo() |
getName | getName() | String getName() |
getService | getService(type,algorithm) | Service getService(String type, String algorithm) |
getServices | getServices() | Set getServices() |
getVersion | getVersion() | double getVersion() |
getVersionStr | getVersionStr() | String getVersionStr() |
isConfigured | isConfigured() | boolean isConfigured() |
The methods and fields of Properties are inherited.
ProviderException#
class · extends RuntimeException · java.security.ProviderException
Constructors
new ProviderException() |
new ProviderException(Throwable cause) |
new ProviderException(String s) |
new ProviderException(String message, Throwable cause) |
Ring: new ProviderException(args) uses the constructor with the fewest parameters (at least one); new ProviderException makes the object with the constructor without parameters; the others: (new ProviderException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of RuntimeException are inherited.
ProviderService#
class · extends Object · java.security.Provider$Service
Constructors
new ProviderService(Provider provider, String type, String algorithm, String className, List aliases, Map attributes) |
Ring: new ProviderService(args) uses the constructor with the fewest parameters (at least one); new ProviderService makes the object with the constructor without parameters; the others: (new ProviderService).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAlgorithm | getAlgorithm() | String getAlgorithm() |
getAttribute | getAttribute(name) | String getAttribute(String name) |
getClassName | getClassName() | String getClassName() |
getProvider | getProvider() | Provider getProvider() |
getType | getType() | String getType() |
newInstance | newInstance(constructorParameter) | Object newInstance(Object constructorParameter) |
supportsParameter | supportsParameter(parameter) | boolean supportsParameter(Object parameter) |
The methods and fields of Object are inherited.
PublicKey#
interface · java.security.PublicKey
Extends: AsymmetricKey
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
serialVersionUID | long | constant · static | o.serialVersionUID |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAlgorithm | getAlgorithm() | String getAlgorithm() |
getEncoded | getEncoded() | byte[] getEncoded() |
getFormat | getFormat() | String getFormat() |
getParams | getParams() | AlgorithmParameterSpec getParams() |
SecureClassLoader#
class · extends ClassLoader · java.security.SecureClassLoader
The methods and fields of ClassLoader are inherited.
SecureRandom#
class · extends Random · java.security.SecureRandom
Constructors
new SecureRandom() |
new SecureRandom(byte[] seed) |
Ring: new SecureRandom(args) uses the constructor with the fewest parameters (at least one); new SecureRandom makes the object with the constructor without parameters; the others: (new SecureRandom).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@reseed | @reseed(params) | void reseed(SecureRandomParameters params) |
generateSeed | generateSeed(numBytes) | byte[] generateSeed(int numBytes) |
getAlgorithm | getAlgorithm() | String getAlgorithm() |
getInstance | getInstance(algorithm)getInstance([algorithm,params])getInstance([ :algorithm = v, :params = v ])getInstance([algorithm,params,provider])getInstance([ :algorithm = v, :params = v, :provider = v ]) | static SecureRandom getInstance(String algorithm)static SecureRandom getInstance(String algorithm, SecureRandomParameters params)static SecureRandom getInstance(String algorithm, Provider provider)static SecureRandom getInstance(String algorithm, String provider)static SecureRandom getInstance(String algorithm, SecureRandomParameters params, Provider provider)static SecureRandom getInstance(String algorithm, SecureRandomParameters params, String provider) |
getInstanceStrong | getInstanceStrong() | static SecureRandom getInstanceStrong() |
getParameters | getParameters() | SecureRandomParameters getParameters() |
getProvider | getProvider() | Provider getProvider() |
getSeed | getSeed(numBytes) | static byte[] getSeed(int numBytes) |
nextBytes | nextBytes(bytes)nextBytes([bytes,params])nextBytes([ :bytes = v, :params = v ]) | void nextBytes(byte[] bytes)void nextBytes(byte[] bytes, SecureRandomParameters params) |
reseed | reseed() | void reseed() |
The methods and fields of Random are inherited.
SecureRandomParameters#
interface · java.security.SecureRandomParameters
SecureRandomSpi#
abstract · extends Object · java.security.SecureRandomSpi
Implements: Serializable
The methods and fields of Object are inherited.
Security#
class final · extends Object · java.security.Security
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@getProviders | @getProviders(filter) | static Provider[] getProviders(Map filter)static Provider[] getProviders(String filter) |
addProvider | addProvider(provider) | static int addProvider(Provider provider) |
getAlgorithmProperty | getAlgorithmProperty(algName,propName) | static String getAlgorithmProperty(String algName, String propName) |
getAlgorithms | getAlgorithms(serviceName) | static Set getAlgorithms(String serviceName) |
getProperty | getProperty(key) | static String getProperty(String key) |
getProvider | getProvider(name) | static Provider getProvider(String name) |
getProviders | getProviders() | static Provider[] getProviders() |
insertProviderAt | insertProviderAt(provider,position) | static int insertProviderAt(Provider provider, int position) |
removeProvider | removeProvider(name) | static void removeProvider(String name) |
setProperty | setProperty(key,datum) | static void setProperty(String key, String datum) |
The methods and fields of Object are inherited.
SecurityPermission#
class final · extends BasicPermission · java.security.SecurityPermission
Constructors
new SecurityPermission(String name) |
new SecurityPermission(String name, String actions) |
Ring: new SecurityPermission(args) uses the constructor with the fewest parameters (at least one); new SecurityPermission makes the object with the constructor without parameters; the others: (new SecurityPermission).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of BasicPermission are inherited.
SecuritySignature#
abstract · extends SignatureSpi · java.security.Signature
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@sign | @sign([outbuf,offset,len])@sign([ :outbuf = v, :offset = v, :len = v ]) | int sign(byte[] outbuf, int offset, int len) |
getAlgorithm | getAlgorithm() | String getAlgorithm() |
getInstance | getInstance(algorithm)getInstance([algorithm,provider])getInstance([ :algorithm = v, :provider = v ]) | static Signature getInstance(String algorithm)static Signature getInstance(String algorithm, String provider)static Signature getInstance(String algorithm, Provider provider) |
getParameter | getParameter(param) | Object getParameter(String param) |
getParameters | getParameters() | AlgorithmParameters getParameters() |
getProvider | getProvider() | Provider getProvider() |
initSign | initSign(privateKey)initSign([privateKey,random])initSign([ :privateKey = v, :random = v ]) | void initSign(PrivateKey privateKey)void initSign(PrivateKey privateKey, SecureRandom random) |
initVerify | initVerify(certificate) | void initVerify(Certificate certificate)void initVerify(PublicKey publicKey) |
setParameter | setParameter(params)setParameter([param,value])setParameter([ :param = v, :value = v ]) | void setParameter(AlgorithmParameterSpec params)void setParameter(String param, Object value) |
sign | sign() | byte[] sign() |
update | update(data)update([data,off,len])update([ :data = v, :off = v, :len = v ]) | void update(byte[] data)void update(byte b)void update(ByteBuffer data)void update(byte[] data, int off, int len) |
verify | verify(signature)verify([signature,offset,length])verify([ :signature = v, :offset = v, :length = v ]) | boolean verify(byte[] signature)boolean verify(byte[] signature, int offset, int length) |
The methods and fields of SignatureSpi are inherited.
SignatureException#
class · extends GeneralSecurityException · java.security.SignatureException
Constructors
new SignatureException() |
new SignatureException(Throwable cause) |
new SignatureException(String msg) |
new SignatureException(String message, Throwable cause) |
Ring: new SignatureException(args) uses the constructor with the fewest parameters (at least one); new SignatureException makes the object with the constructor without parameters; the others: (new SignatureException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of GeneralSecurityException are inherited.
SignatureSpi#
abstract · extends Object · java.security.SignatureSpi
Methods
| Method | Ring call | Java overloads |
|---|---|---|
clone | clone() | Object clone() |
The methods and fields of Object are inherited.
SignedObject#
class final · extends Object · java.security.SignedObject
Implements: Serializable
Constructors
new SignedObject(Serializable object, PrivateKey signingKey, Signature signingEngine) |
Ring: new SignedObject(args) uses the constructor with the fewest parameters (at least one); new SignedObject makes the object with the constructor without parameters; the others: (new SignedObject).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAlgorithm | getAlgorithm() | String getAlgorithm() |
getObject | getObject() | Object getObject() |
getSignature | getSignature() | byte[] getSignature() |
verify | verify(verificationKey,verificationEngine) | boolean verify(PublicKey verificationKey, Signature verificationEngine) |
The methods and fields of Object are inherited.
Signer#
abstract · extends Identity · java.security.Signer
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getPrivateKey | getPrivateKey() | PrivateKey getPrivateKey() |
setKeyPair | setKeyPair(pair) | void setKeyPair(KeyPair pair) |
The methods and fields of Identity are inherited.
Timestamp#
class final · extends Object · java.security.Timestamp
Implements: Serializable
Constructors
new Timestamp(Date timestamp, CertPath signerCertPath) |
Ring: new Timestamp(args) uses the constructor with the fewest parameters (at least one); new Timestamp makes the object with the constructor without parameters; the others: (new Timestamp).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getSignerCertPath | getSignerCertPath() | CertPath getSignerCertPath() |
getTimestamp | getTimestamp() | Date getTimestamp() |
The methods and fields of Object are inherited.
UnrecoverableEntryException#
class · extends GeneralSecurityException · java.security.UnrecoverableEntryException
Constructors
new UnrecoverableEntryException() |
new UnrecoverableEntryException(String msg) |
Ring: new UnrecoverableEntryException(args) uses the constructor with the fewest parameters (at least one); new UnrecoverableEntryException makes the object with the constructor without parameters; the others: (new UnrecoverableEntryException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of GeneralSecurityException are inherited.
UnrecoverableKeyException#
class · extends UnrecoverableEntryException · java.security.UnrecoverableKeyException
Constructors
new UnrecoverableKeyException() |
new UnrecoverableKeyException(String msg) |
Ring: new UnrecoverableKeyException(args) uses the constructor with the fewest parameters (at least one); new UnrecoverableKeyException makes the object with the constructor without parameters; the others: (new UnrecoverableKeyException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of UnrecoverableEntryException are inherited.
UnresolvedPermission#
class final · extends Permission · java.security.UnresolvedPermission
Implements: Serializable
Constructors
new UnresolvedPermission(String type, String name, String actions, Certificate[] certs) |
Ring: new UnresolvedPermission(args) uses the constructor with the fewest parameters (at least one); new UnresolvedPermission makes the object with the constructor without parameters; the others: (new UnresolvedPermission).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getUnresolvedActions | getUnresolvedActions() | String getUnresolvedActions() |
getUnresolvedCerts | getUnresolvedCerts() | Certificate[] getUnresolvedCerts() |
getUnresolvedName | getUnresolvedName() | String getUnresolvedName() |
getUnresolvedType | getUnresolvedType() | String getUnresolvedType() |
The methods and fields of Permission are inherited.
URIParameter#
class · extends Object · java.security.URIParameter
Implements: PolicyParameters, ConfigurationParameters
Constructors
new URIParameter(URI uri) |
Ring: new URIParameter(args) uses the constructor with the fewest parameters (at least one); new URIParameter makes the object with the constructor without parameters; the others: (new URIParameter).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getURI | getURI() | URI getURI() |
The methods and fields of Object are inherited.