RingJavafor Ring

java.security

98 classes of the module java.base.

Load them with:

using {
	"java.security"
}

All packages

AccessControlContext AccessControlException AccessController AlgorithmConstraints AlgorithmParameterGenerator AlgorithmParameterGeneratorSpi AlgorithmParameters AlgorithmParametersSpi AllPermission AsymmetricKey AuthProvider BasicPermission Certificate CodeSigner CodeSource CryptoPrimitive DEREncodable DigestException DigestInputStream DigestOutputStream DomainCombiner DomainLoadStoreParameter DrbgParameters DrbgParametersCapability DrbgParametersInstantiation DrbgParametersNextBytes DrbgParametersReseed GeneralSecurityException Guard GuardedObject Identity IdentityScope InvalidAlgorithmParameterException InvalidKeyException InvalidParameterException Key KeyException KeyFactory KeyFactorySpi KeyManagementException KeyPair KeyPairGenerator KeyPairGeneratorSpi KeyRep KeyRepType KeyStore KeyStoreBuilder KeyStoreCallbackHandlerProtection KeyStoreEntry KeyStoreEntryAttribute KeyStoreException KeyStoreLoadStoreParameter KeyStorePasswordProtection KeyStorePrivateKeyEntry KeyStoreProtectionParameter KeyStoreSecretKeyEntry KeyStoreSpi KeyStoreTrustedCertificateEntry MessageDigest MessageDigestSpi NoSuchAlgorithmException NoSuchProviderException PEMDecoder PEMEncoder PEMRecord Permission PermissionCollection Permissions PKCS12Attribute Policy PolicyParameters PolicySpi Principal PrivateKey PrivilegedAction PrivilegedActionException PrivilegedExceptionAction ProtectionDomain Provider ProviderException ProviderService PublicKey SecureClassLoader SecureRandom SecureRandomParameters SecureRandomSpi Security SecurityPermission SecuritySignature SignatureException SignatureSpi SignedObject Signer Timestamp UnrecoverableEntryException UnrecoverableKeyException UnresolvedPermission URIParameter

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

MethodRing callJava overloads
checkPermissioncheckPermission(perm)void checkPermission(Permission perm)
getDomainCombinergetDomainCombiner()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

MethodRing callJava overloads
getPermissiongetPermission()Permission getPermission()

The methods and fields of SecurityException are inherited.

AccessController#

class final · extends Object · java.security.AccessController

Methods

MethodRing callJava overloads
checkPermissioncheckPermission(perm)static void checkPermission(Permission perm)
doPrivilegeddoPrivileged(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)
doPrivilegedWithCombinerdoPrivilegedWithCombiner(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)
getContextgetContext()static AccessControlContext getContext()

The methods and fields of Object are inherited.

AlgorithmConstraints#

interface · java.security.AlgorithmConstraints

Methods

MethodRing callJava overloads
permitspermits([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

MethodRing callJava 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)
generateParametersgenerateParameters()AlgorithmParameters generateParameters()
getAlgorithmgetAlgorithm()String getAlgorithm()
getInstancegetInstance(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)
getProvidergetProvider()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

MethodRing callJava 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)
getAlgorithmgetAlgorithm()String getAlgorithm()
getEncodedgetEncoded()byte[] getEncoded()
getInstancegetInstance(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)
getParameterSpecgetParameterSpec(paramSpec)AlgorithmParameterSpec getParameterSpec(Class paramSpec)
getProvidergetProvider()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

NameTypeAccessIn Ring
serialVersionUIDlongconstant · statico.serialVersionUID

Methods

MethodRing callJava overloads
getAlgorithmgetAlgorithm()String getAlgorithm()
getEncodedgetEncoded()byte[] getEncoded()
getFormatgetFormat()String getFormat()
getParamsgetParams()AlgorithmParameterSpec getParams()

AuthProvider#

abstract · extends Provider · java.security.AuthProvider

Methods

MethodRing callJava overloads
loginlogin(subject,handler)void login(Subject subject, CallbackHandler handler)
logoutlogout()void logout()
setCallbackHandlersetCallbackHandler(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

MethodRing callJava overloads
@toString@toString(detailed)String toString(boolean detailed)
decodedecode(stream)void decode(InputStream stream)
encodeencode(stream)void encode(OutputStream stream)
getFormatgetFormat()String getFormat()
getGuarantorgetGuarantor()Principal getGuarantor()
getPrincipalgetPrincipal()Principal getPrincipal()
getPublicKeygetPublicKey()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

MethodRing callJava overloads
getSignerCertPathgetSignerCertPath()CertPath getSignerCertPath()
getTimestampgetTimestamp()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

MethodRing callJava overloads
getCertificatesgetCertificates()Certificate[] getCertificates()
getCodeSignersgetCodeSigners()CodeSigner[] getCodeSigners()
getLocationgetLocation()URL getLocation()
impliesimplies(codesource)boolean implies(CodeSource codesource)

The methods and fields of Object are inherited.

CryptoPrimitive#

enum · extends Enum · java.security.CryptoPrimitive

Fields

NameTypeAccessIn Ring
MESSAGE_DIGESTCryptoPrimitiveconstant · statico.MESSAGE_DIGEST
SECURE_RANDOMCryptoPrimitiveconstant · statico.SECURE_RANDOM
BLOCK_CIPHERCryptoPrimitiveconstant · statico.BLOCK_CIPHER
STREAM_CIPHERCryptoPrimitiveconstant · statico.STREAM_CIPHER
MACCryptoPrimitiveconstant · statico.MAC
KEY_WRAPCryptoPrimitiveconstant · statico.KEY_WRAP
PUBLIC_KEY_ENCRYPTIONCryptoPrimitiveconstant · statico.PUBLIC_KEY_ENCRYPTION
SIGNATURECryptoPrimitiveconstant · statico.SIGNATURE
KEY_ENCAPSULATIONCryptoPrimitiveconstant · statico.KEY_ENCAPSULATION
KEY_AGREEMENTCryptoPrimitiveconstant · statico.KEY_AGREEMENT

Methods

MethodRing callJava overloads
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static CryptoPrimitive valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()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

MethodRing callJava overloads
getMessageDigestgetMessageDigest()MessageDigest getMessageDigest()
onon(on)void on(boolean on)
setMessageDigestsetMessageDigest(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

MethodRing callJava overloads
getMessageDigestgetMessageDigest()MessageDigest getMessageDigest()
onon(on)void on(boolean on)
setMessageDigestsetMessageDigest(digest)void setMessageDigest(MessageDigest digest)

The methods and fields of FilterOutputStream are inherited.

DomainCombiner#

interface · java.security.DomainCombiner

Methods

MethodRing callJava overloads
combinecombine(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

MethodRing callJava overloads
getConfigurationgetConfiguration()URI getConfiguration()
getProtectionParametergetProtectionParameter()ProtectionParameter getProtectionParameter()
getProtectionParamsgetProtectionParams()Map getProtectionParams()

The methods and fields of Object are inherited.

DrbgParameters#

class final · extends Object · java.security.DrbgParameters

Methods

MethodRing callJava overloads
instantiationinstantiation(strength,capability,personalizationString)static Instantiation instantiation(int strength, Capability capability, byte[] personalizationString)
nextBytesnextBytes(strength,predictionResistance,additionalInput)static NextBytes nextBytes(int strength, boolean predictionResistance, byte[] additionalInput)
reseedreseed(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

NameTypeAccessIn Ring
PR_AND_RESEEDCapabilityconstant · statico.PR_AND_RESEED
RESEED_ONLYCapabilityconstant · statico.RESEED_ONLY
NONECapabilityconstant · statico.NONE

Methods

MethodRing callJava overloads
supportsPredictionResistancesupportsPredictionResistance()boolean supportsPredictionResistance()
supportsReseedingsupportsReseeding()boolean supportsReseeding()
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static Capability valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static Capability[] values()

The methods and fields of Enum are inherited.

DrbgParametersInstantiation#

class final · extends Object · java.security.DrbgParameters$Instantiation

Implements: SecureRandomParameters

Methods

MethodRing callJava overloads
getCapabilitygetCapability()Capability getCapability()
getPersonalizationStringgetPersonalizationString()byte[] getPersonalizationString()
getStrengthgetStrength()int getStrength()

The methods and fields of Object are inherited.

DrbgParametersNextBytes#

class final · extends Object · java.security.DrbgParameters$NextBytes

Implements: SecureRandomParameters

Methods

MethodRing callJava overloads
getAdditionalInputgetAdditionalInput()byte[] getAdditionalInput()
getPredictionResistancegetPredictionResistance()boolean getPredictionResistance()
getStrengthgetStrength()int getStrength()

The methods and fields of Object are inherited.

DrbgParametersReseed#

class final · extends Object · java.security.DrbgParameters$Reseed

Implements: SecureRandomParameters

Methods

MethodRing callJava overloads
getAdditionalInputgetAdditionalInput()byte[] getAdditionalInput()
getPredictionResistancegetPredictionResistance()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

MethodRing callJava overloads
checkGuardcheckGuard(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

MethodRing callJava overloads
getObjectgetObject()Object getObject()

The methods and fields of Object are inherited.

Identity#

abstract · extends Object · java.security.Identity

Implements: Principal, Serializable

Methods

MethodRing callJava overloads
@toString@toString(detailed)String toString(boolean detailed)
addCertificateaddCertificate(certificate)void addCertificate(Certificate certificate)
certificatescertificates()Certificate[] certificates()
getInfogetInfo()String getInfo()
getNamegetName()String getName()
getPublicKeygetPublicKey()PublicKey getPublicKey()
getScopegetScope()IdentityScope getScope()
impliesimplies(subject)boolean implies(Subject subject)
removeCertificateremoveCertificate(certificate)void removeCertificate(Certificate certificate)
setInfosetInfo(info)void setInfo(String info)
setPublicKeysetPublicKey(key)void setPublicKey(PublicKey key)

The methods and fields of Object are inherited.

IdentityScope#

abstract · extends Identity · java.security.IdentityScope

Methods

MethodRing callJava overloads
addIdentityaddIdentity(identity)void addIdentity(Identity identity)
getIdentitygetIdentity(key)Identity getIdentity(PublicKey key)
Identity getIdentity(Principal principal)
Identity getIdentity(String name)
getSystemScopegetSystemScope()static IdentityScope getSystemScope()
identitiesidentities()Enumeration identities()
removeIdentityremoveIdentity(identity)void removeIdentity(Identity identity)
sizesize()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

NameTypeAccessIn Ring
serialVersionUIDlongconstant · statico.serialVersionUID

Methods

MethodRing callJava overloads
getAlgorithmgetAlgorithm()String getAlgorithm()
getEncodedgetEncoded()byte[] getEncoded()
getFormatgetFormat()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

MethodRing callJava overloads
generatePrivategeneratePrivate(keySpec)PrivateKey generatePrivate(KeySpec keySpec)
generatePublicgeneratePublic(keySpec)PublicKey generatePublic(KeySpec keySpec)
getAlgorithmgetAlgorithm()String getAlgorithm()
getInstancegetInstance(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)
getKeySpecgetKeySpec(key,keySpec)KeySpec getKeySpec(Key key, Class keySpec)
getProvidergetProvider()Provider getProvider()
translateKeytranslateKey(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

MethodRing callJava overloads
getPrivategetPrivate()PrivateKey getPrivate()
getPublicgetPublic()PublicKey getPublic()

The methods and fields of Object are inherited.

KeyPairGenerator#

abstract · extends KeyPairGeneratorSpi · java.security.KeyPairGenerator

Methods

MethodRing callJava overloads
genKeyPairgenKeyPair()KeyPair genKeyPair()
getAlgorithmgetAlgorithm()String getAlgorithm()
getInstancegetInstance(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)
getProvidergetProvider()Provider getProvider()
initializeinitialize(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

MethodRing callJava overloads
generateKeyPairgenerateKeyPair()KeyPair generateKeyPair()
initializeinitialize(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

NameTypeAccessIn Ring
SECRETTypeconstant · statico.SECRET
PUBLICTypeconstant · statico.PUBLIC
PRIVATETypeconstant · statico.@PRIVATE

Methods

MethodRing callJava overloads
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static Type valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static Type[] values()

The methods and fields of Enum are inherited.

KeyStore#

class · extends Object · java.security.KeyStore

Methods

MethodRing callJava overloads
@load@load(param)
@load([stream,password])
@load([ :stream = v, :password = v ])
void load(LoadStoreParameter param)
void load(InputStream stream, char[] password)
aliasesaliases()Enumeration aliases()
containsAliascontainsAlias(alias)boolean containsAlias(String alias)
deleteEntrydeleteEntry(alias)void deleteEntry(String alias)
entryInstanceOfentryInstanceOf(alias,entryClass)boolean entryInstanceOf(String alias, Class entryClass)
getAttributesgetAttributes(alias)Set getAttributes(String alias)
getCertificategetCertificate(alias)Certificate getCertificate(String alias)
getCertificateAliasgetCertificateAlias(cert)String getCertificateAlias(Certificate cert)
getCertificateChaingetCertificateChain(alias)Certificate[] getCertificateChain(String alias)
getCreationDategetCreationDate(alias)Date getCreationDate(String alias)
getDefaultTypegetDefaultType()static String getDefaultType()
getEntrygetEntry(alias,protParam)Entry getEntry(String alias, ProtectionParameter protParam)
getInstancegetInstance(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)
getKeygetKey(alias,password)Key getKey(String alias, char[] password)
getProvidergetProvider()Provider getProvider()
getTypegetType()String getType()
isCertificateEntryisCertificateEntry(alias)boolean isCertificateEntry(String alias)
isKeyEntryisKeyEntry(alias)boolean isKeyEntry(String alias)
setCertificateEntrysetCertificateEntry(alias,cert)void setCertificateEntry(String alias, Certificate cert)
setEntrysetEntry(alias,entry,protParam)void setEntry(String alias, Entry entry, ProtectionParameter protParam)
setKeyEntrysetKeyEntry([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)
sizesize()int size()
storestore(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

MethodRing callJava overloads
getKeyStoregetKeyStore()KeyStore getKeyStore()
getProtectionParametergetProtectionParameter(alias)ProtectionParameter getProtectionParameter(String alias)
newInstancenewInstance([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

MethodRing callJava overloads
getCallbackHandlergetCallbackHandler()CallbackHandler getCallbackHandler()

The methods and fields of Object are inherited.

KeyStoreEntry#

interface · java.security.KeyStore$Entry

Methods

MethodRing callJava overloads
getAttributesgetAttributes()Set getAttributes()

KeyStoreEntryAttribute#

interface · java.security.KeyStore$Entry$Attribute

Methods

MethodRing callJava overloads
getNamegetName()String getName()
getValuegetValue()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

MethodRing callJava overloads
getProtectionParametergetProtectionParameter()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

MethodRing callJava overloads
destroydestroy()void destroy()
getPasswordgetPassword()char[] getPassword()
getProtectionAlgorithmgetProtectionAlgorithm()String getProtectionAlgorithm()
getProtectionParametersgetProtectionParameters()AlgorithmParameterSpec getProtectionParameters()
isDestroyedisDestroyed()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

MethodRing callJava overloads
getAttributesgetAttributes()Set getAttributes()
getCertificategetCertificate()Certificate getCertificate()
getCertificateChaingetCertificateChain()Certificate[] getCertificateChain()
getPrivateKeygetPrivateKey()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

MethodRing callJava overloads
getAttributesgetAttributes()Set getAttributes()
getSecretKeygetSecretKey()SecretKey getSecretKey()

The methods and fields of Object are inherited.

KeyStoreSpi#

abstract · extends Object · java.security.KeyStoreSpi

Methods

MethodRing callJava overloads
engineAliasesengineAliases()Enumeration engineAliases()
engineContainsAliasengineContainsAlias(alias)boolean engineContainsAlias(String alias)
engineDeleteEntryengineDeleteEntry(alias)void engineDeleteEntry(String alias)
engineEntryInstanceOfengineEntryInstanceOf(alias,entryClass)boolean engineEntryInstanceOf(String alias, Class entryClass)
engineGetAttributesengineGetAttributes(alias)Set engineGetAttributes(String alias)
engineGetCertificateengineGetCertificate(alias)Certificate engineGetCertificate(String alias)
engineGetCertificateAliasengineGetCertificateAlias(cert)String engineGetCertificateAlias(Certificate cert)
engineGetCertificateChainengineGetCertificateChain(alias)Certificate[] engineGetCertificateChain(String alias)
engineGetCreationDateengineGetCreationDate(alias)Date engineGetCreationDate(String alias)
engineGetEntryengineGetEntry(alias,protParam)Entry engineGetEntry(String alias, ProtectionParameter protParam)
engineGetKeyengineGetKey(alias,password)Key engineGetKey(String alias, char[] password)
engineIsCertificateEntryengineIsCertificateEntry(alias)boolean engineIsCertificateEntry(String alias)
engineIsKeyEntryengineIsKeyEntry(alias)boolean engineIsKeyEntry(String alias)
engineLoadengineLoad(param)
engineLoad([stream,password])
engineLoad([ :stream = v, :password = v ])
void engineLoad(LoadStoreParameter param)
void engineLoad(InputStream stream, char[] password)
engineProbeengineProbe(stream)boolean engineProbe(InputStream stream)
engineSetCertificateEntryengineSetCertificateEntry(alias,cert)void engineSetCertificateEntry(String alias, Certificate cert)
engineSetEntryengineSetEntry(alias,entry,protParam)void engineSetEntry(String alias, Entry entry, ProtectionParameter protParam)
engineSetKeyEntryengineSetKeyEntry([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)
engineSizeengineSize()int engineSize()
engineStoreengineStore(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

MethodRing callJava overloads
getAttributesgetAttributes()Set getAttributes()
getTrustedCertificategetTrustedCertificate()Certificate getTrustedCertificate()

The methods and fields of Object are inherited.

MessageDigest#

abstract · extends MessageDigestSpi · java.security.MessageDigest

Methods

MethodRing callJava 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)
digestdigest()byte[] digest()
getAlgorithmgetAlgorithm()String getAlgorithm()
getDigestLengthgetDigestLength()int getDigestLength()
getInstancegetInstance(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)
getProvidergetProvider()Provider getProvider()
isEqualisEqual(digesta,digestb)static boolean isEqual(byte[] digesta, byte[] digestb)
resetreset()void reset()
updateupdate(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

MethodRing callJava overloads
cloneclone()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

MethodRing callJava overloads
decodedecode(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)
ofof()static PEMDecoder of()
withDecryptionwithDecryption(password)PEMDecoder withDecryption(char[] password)
withFactorywithFactory(provider)PEMDecoder withFactory(Provider provider)

The methods and fields of Object are inherited.

PEMEncoder#

class final · extends Object · java.security.PEMEncoder

Methods

MethodRing callJava overloads
encodeencode(de)byte[] encode(DEREncodable de)
encodeToStringencodeToString(de)String encodeToString(DEREncodable de)
ofof()static PEMEncoder of()
withEncryptionwithEncryption(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

MethodRing callJava overloads
contentcontent()String content()
leadingDataleadingData()byte[] leadingData()
typetype()String type()

The methods and fields of Record are inherited.

Permission#

abstract · extends Object · java.security.Permission

Implements: Guard, Serializable

Methods

MethodRing callJava overloads
checkGuardcheckGuard(object)void checkGuard(Object object)
getActionsgetActions()String getActions()
getNamegetName()String getName()
impliesimplies(permission)boolean implies(Permission permission)
newPermissionCollectionnewPermissionCollection()PermissionCollection newPermissionCollection()

The methods and fields of Object are inherited.

PermissionCollection#

abstract · extends Object · java.security.PermissionCollection

Implements: Serializable

Methods

MethodRing callJava overloads
addadd(permission)void add(Permission permission)
elementselements()Enumeration elements()
elementsAsStreamelementsAsStream()Stream elementsAsStream()
impliesimplies(permission)boolean implies(Permission permission)
isReadOnlyisReadOnly()boolean isReadOnly()
setReadOnlysetReadOnly()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

MethodRing callJava overloads
getEncodedgetEncoded()byte[] getEncoded()
getNamegetName()String getName()
getValuegetValue()String getValue()

The methods and fields of Object are inherited.

Policy#

abstract · extends Object · java.security.Policy

Fields

NameTypeAccessIn Ring
UNSUPPORTED_EMPTY_COLLECTIONPermissionCollectionconstant · statico.UNSUPPORTED_EMPTY_COLLECTION

Methods

MethodRing callJava overloads
getInstancegetInstance([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)
getParametersgetParameters()Parameters getParameters()
getPermissionsgetPermissions(domain)PermissionCollection getPermissions(ProtectionDomain domain)
PermissionCollection getPermissions(CodeSource codesource)
getPolicygetPolicy()static Policy getPolicy()
getProvidergetProvider()Provider getProvider()
getTypegetType()String getType()
impliesimplies(domain,permission)boolean implies(ProtectionDomain domain, Permission permission)
refreshrefresh()void refresh()
setPolicysetPolicy(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

MethodRing callJava overloads
equalsequals(another)boolean equals(Object another)
getNamegetName()String getName()
hashCodehashCode()int hashCode()
impliesimplies(subject)boolean implies(Subject subject)

PrivateKey#

interface · java.security.PrivateKey

Extends: AsymmetricKey, Destroyable

Fields

NameTypeAccessIn Ring
serialVersionUIDlongconstant · statico.serialVersionUID

Methods

MethodRing callJava overloads
destroydestroy()void destroy()
getAlgorithmgetAlgorithm()String getAlgorithm()
getEncodedgetEncoded()byte[] getEncoded()
getFormatgetFormat()String getFormat()
getParamsgetParams()AlgorithmParameterSpec getParams()
isDestroyedisDestroyed()boolean isDestroyed()

PrivilegedAction#

interface · java.security.PrivilegedAction

Methods

MethodRing callJava overloads
runrun()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

MethodRing callJava overloads
getExceptiongetException()Exception getException()

The methods and fields of Exception are inherited.

PrivilegedExceptionAction#

interface · java.security.PrivilegedExceptionAction

Methods

MethodRing callJava overloads
runrun()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

MethodRing callJava overloads
getClassLoadergetClassLoader()ClassLoader getClassLoader()
getCodeSourcegetCodeSource()CodeSource getCodeSource()
getPermissionsgetPermissions()PermissionCollection getPermissions()
getPrincipalsgetPrincipals()Principal[] getPrincipals()
impliesimplies(perm)boolean implies(Permission perm)
staticPermissionsOnlystaticPermissionsOnly()boolean staticPermissionsOnly()

The methods and fields of Object are inherited.

Provider#

abstract · extends Properties · java.security.Provider

Methods

MethodRing callJava overloads
configureconfigure(configArg)Provider configure(String configArg)
getInfogetInfo()String getInfo()
getNamegetName()String getName()
getServicegetService(type,algorithm)Service getService(String type, String algorithm)
getServicesgetServices()Set getServices()
getVersiongetVersion()double getVersion()
getVersionStrgetVersionStr()String getVersionStr()
isConfiguredisConfigured()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

MethodRing callJava overloads
getAlgorithmgetAlgorithm()String getAlgorithm()
getAttributegetAttribute(name)String getAttribute(String name)
getClassNamegetClassName()String getClassName()
getProvidergetProvider()Provider getProvider()
getTypegetType()String getType()
newInstancenewInstance(constructorParameter)Object newInstance(Object constructorParameter)
supportsParametersupportsParameter(parameter)boolean supportsParameter(Object parameter)

The methods and fields of Object are inherited.

PublicKey#

interface · java.security.PublicKey

Extends: AsymmetricKey

Fields

NameTypeAccessIn Ring
serialVersionUIDlongconstant · statico.serialVersionUID

Methods

MethodRing callJava overloads
getAlgorithmgetAlgorithm()String getAlgorithm()
getEncodedgetEncoded()byte[] getEncoded()
getFormatgetFormat()String getFormat()
getParamsgetParams()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

MethodRing callJava overloads
@reseed@reseed(params)void reseed(SecureRandomParameters params)
generateSeedgenerateSeed(numBytes)byte[] generateSeed(int numBytes)
getAlgorithmgetAlgorithm()String getAlgorithm()
getInstancegetInstance(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)
getInstanceStronggetInstanceStrong()static SecureRandom getInstanceStrong()
getParametersgetParameters()SecureRandomParameters getParameters()
getProvidergetProvider()Provider getProvider()
getSeedgetSeed(numBytes)static byte[] getSeed(int numBytes)
nextBytesnextBytes(bytes)
nextBytes([bytes,params])
nextBytes([ :bytes = v, :params = v ])
void nextBytes(byte[] bytes)
void nextBytes(byte[] bytes, SecureRandomParameters params)
reseedreseed()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

MethodRing callJava overloads
@getProviders@getProviders(filter)static Provider[] getProviders(Map filter)
static Provider[] getProviders(String filter)
addProvideraddProvider(provider)static int addProvider(Provider provider)
getAlgorithmPropertygetAlgorithmProperty(algName,propName)static String getAlgorithmProperty(String algName, String propName)
getAlgorithmsgetAlgorithms(serviceName)static Set getAlgorithms(String serviceName)
getPropertygetProperty(key)static String getProperty(String key)
getProvidergetProvider(name)static Provider getProvider(String name)
getProvidersgetProviders()static Provider[] getProviders()
insertProviderAtinsertProviderAt(provider,position)static int insertProviderAt(Provider provider, int position)
removeProviderremoveProvider(name)static void removeProvider(String name)
setPropertysetProperty(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

MethodRing callJava overloads
@sign@sign([outbuf,offset,len])
@sign([ :outbuf = v, :offset = v, :len = v ])
int sign(byte[] outbuf, int offset, int len)
getAlgorithmgetAlgorithm()String getAlgorithm()
getInstancegetInstance(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)
getParametergetParameter(param)Object getParameter(String param)
getParametersgetParameters()AlgorithmParameters getParameters()
getProvidergetProvider()Provider getProvider()
initSigninitSign(privateKey)
initSign([privateKey,random])
initSign([ :privateKey = v, :random = v ])
void initSign(PrivateKey privateKey)
void initSign(PrivateKey privateKey, SecureRandom random)
initVerifyinitVerify(certificate)void initVerify(Certificate certificate)
void initVerify(PublicKey publicKey)
setParametersetParameter(params)
setParameter([param,value])
setParameter([ :param = v, :value = v ])
void setParameter(AlgorithmParameterSpec params)
void setParameter(String param, Object value)
signsign()byte[] sign()
updateupdate(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)
verifyverify(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

MethodRing callJava overloads
cloneclone()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

MethodRing callJava overloads
getAlgorithmgetAlgorithm()String getAlgorithm()
getObjectgetObject()Object getObject()
getSignaturegetSignature()byte[] getSignature()
verifyverify(verificationKey,verificationEngine)boolean verify(PublicKey verificationKey, Signature verificationEngine)

The methods and fields of Object are inherited.

Signer#

abstract · extends Identity · java.security.Signer

Methods

MethodRing callJava overloads
getPrivateKeygetPrivateKey()PrivateKey getPrivateKey()
setKeyPairsetKeyPair(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

MethodRing callJava overloads
getSignerCertPathgetSignerCertPath()CertPath getSignerCertPath()
getTimestampgetTimestamp()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

MethodRing callJava overloads
getUnresolvedActionsgetUnresolvedActions()String getUnresolvedActions()
getUnresolvedCertsgetUnresolvedCerts()Certificate[] getUnresolvedCerts()
getUnresolvedNamegetUnresolvedName()String getUnresolvedName()
getUnresolvedTypegetUnresolvedType()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

MethodRing callJava overloads
getURIgetURI()URI getURI()

The methods and fields of Object are inherited.

RingJava - use Java classes and methods from Ring programs.