SATSA - JSR177

Uses of Class
java.lang.String

Packages that use String
java.lang Provides classes that are fundamental to the Java programming language. 
java.rmi A subset of the java.rmi package in the Java 2 Standard Edition. 
java.security Provides the classes and interfaces for the security framework. 
java.security.spec Provides classes and interfaces for key specifications and algorithm parameter specifications. 
javax.crypto Provides the classes and interfaces for cryptographic operations. 
javax.crypto.spec Provides classes and interfaces for key specifications and algorithm parameter specifications. 
javax.microedition.io Classes for the Generic Connection framework. 
javax.microedition.jcrmi Provides classes and interfaces for Java Card RMI connection. 
javax.microedition.pki This package defines classes to support basic user certificate management. 
javax.microedition.securityservice This package defines classes to generate application-level digital signatures that conform to the Cryptographic Message Syntax (CMS) format. 
 

Uses of String in java.lang
 

Methods in java.lang that return String
 String Short.toString()
          Returns a String object representing this Short's value.
 String Boolean.toString()
          Returns a String object representing this Boolean's value.
static String Integer.toString(int i, int radix)
          Creates a string representation of the first argument in the radix specified by the second argument.
static String Integer.toHexString(int i)
          Creates a string representation of the integer argument as an unsigned integer in base 16.
static String Integer.toOctalString(int i)
          Creates a string representation of the integer argument as an unsigned integer in base 8.
static String Integer.toBinaryString(int i)
          Creates a string representation of the integer argument as an unsigned integer in base 2.
static String Integer.toString(int i)
          Returns a new String object representing the specified integer.
 String Integer.toString()
          Returns a String object representing this Integer's value.
 String Character.toString()
          Returns a String object representing this character's value.
 String Byte.toString()
          Returns a String object representing this Byte's value.
static String Long.toString(long i, int radix)
          Creates a string representation of the first argument in the radix specified by the second argument.
static String Long.toString(long i)
          Returns a new String object representing the specified integer.
 String Long.toString()
          Returns a String object representing this Long's value.
static String System.getProperty(String key)
          Gets the system property indicated by the specified key.
 String StringBuffer.toString()
          Converts to a string representing the data in this string buffer.
 String Thread.toString()
          Returns a string representation of this thread, including a unique number that identifies the thread and the thread's priority.
 String Throwable.getMessage()
          Returns the error message string of this throwable object.
 String Throwable.toString()
          Returns a short description of this throwable object.
 String String.substring(int beginIndex)
          Returns a new string that is a substring of this string.
 String String.substring(int beginIndex, int endIndex)
          Returns a new string that is a substring of this string.
 String String.concat(String str)
          Concatenates the specified string to the end of this string.
 String String.replace(char oldChar, char newChar)
          Returns a new string resulting from replacing all occurrences of oldChar in this string with newChar.
 String String.toLowerCase()
          Converts all of the characters in this String to lower case.
 String String.toUpperCase()
          Converts all of the characters in this String to upper case.
 String String.trim()
          Removes white space from both ends of this string.
 String String.toString()
          This object (which is already a string!) is itself returned.
static String String.valueOf(Object obj)
          Returns the string representation of the Object argument.
static String String.valueOf(char[] data)
          Returns the string representation of the char array argument.
static String String.valueOf(char[] data, int offset, int count)
          Returns the string representation of a specific subarray of the char array argument.
static String String.valueOf(boolean b)
          Returns the string representation of the boolean argument.
static String String.valueOf(char c)
          Returns the string representation of the char argument.
static String String.valueOf(int i)
          Returns the string representation of the int argument.
static String String.valueOf(long l)
          Returns the string representation of the long argument.
 String Class.toString()
          Converts the object to a string.
 String Class.getName()
          Returns the fully-qualified name of the entity (class, interface, array class, primitive type, or void) represented by this Class object, as a String.
 String Object.toString()
          Returns a string representation of the object.
 

Methods in java.lang with parameters of type String
static short Short.parseShort(String s)
          Assuming the specified String represents a short, returns that short's value.
static short Short.parseShort(String s, int radix)
          Assuming the specified String represents a short, returns that short's value.
static int Integer.parseInt(String s, int radix)
          Parses the string argument as a signed integer in the radix specified by the second argument.
static int Integer.parseInt(String s)
          Parses the string argument as a signed decimal integer.
static Integer Integer.valueOf(String s, int radix)
          Returns a new Integer object initialized to the value of the specified String.
static Integer Integer.valueOf(String s)
          Returns a new Integer object initialized to the value of the specified String.
static byte Byte.parseByte(String s)
          Assuming the specified String represents a byte, returns that byte's value.
static byte Byte.parseByte(String s, int radix)
          Assuming the specified String represents a byte, returns that byte's value.
static long Long.parseLong(String s, int radix)
          Parses the string argument as a signed long in the radix specified by the second argument.
static long Long.parseLong(String s)
          Parses the string argument as a signed decimal long.
static String System.getProperty(String key)
          Gets the system property indicated by the specified key.
 StringBuffer StringBuffer.append(String str)
          Appends the string to this string buffer.
 StringBuffer StringBuffer.insert(int offset, String str)
          Inserts the string into this string buffer.
 byte[] String.getBytes(String enc)
          Convert this String into bytes according to the specified character encoding, storing the result into a new byte array.
 int String.compareTo(String anotherString)
          Compares two strings lexicographically.
 boolean String.regionMatches(boolean ignoreCase, int toffset, String other, int ooffset, int len)
          Tests if two string regions are equal.
 boolean String.startsWith(String prefix, int toffset)
          Tests if this string starts with the specified prefix beginning a specified index.
 boolean String.startsWith(String prefix)
          Tests if this string starts with the specified prefix.
 boolean String.endsWith(String suffix)
          Tests if this string ends with the specified suffix.
 int String.indexOf(String str)
          Returns the index within this string of the first occurrence of the specified substring.
 int String.indexOf(String str, int fromIndex)
          Returns the index within this string of the first occurrence of the specified substring, starting at the specified index.
 String String.concat(String str)
          Concatenates the specified string to the end of this string.
static Class Class.forName(String className)
          Returns the Class object associated with the class with the given string name.
 java.io.InputStream Class.getResourceAsStream(String name)
          Finds a resource with a given name.
 

Constructors in java.lang with parameters of type String
IllegalThreadStateException(String s)
          Constructs an IllegalThreadStateException with the specified detail message.
IllegalMonitorStateException(String s)
          Constructs an IllegalMonitorStateException with the specified detail message.
StringIndexOutOfBoundsException(String s)
          Constructs a StringIndexOutOfBoundsException with the specified detail message.
NullPointerException(String s)
          Constructs a NullPointerException with the specified detail message.
VirtualMachineError(String s)
          Constructs a VirtualMachineError with the specified detail message.
OutOfMemoryError(String s)
          Constructs an OutOfMemoryError with the specified detail message.
NegativeArraySizeException(String s)
          Constructs a NegativeArraySizeException with the specified detail message.
IndexOutOfBoundsException(String s)
          Constructs an IndexOutOfBoundsException with the specified detail message.
ArrayIndexOutOfBoundsException(String s)
          Constructs an ArrayIndexOutOfBoundsException class with the specified detail message.
ClassCastException(String s)
          Constructs a ClassCastException with the specified detail message.
ArithmeticException(String s)
          Constructs an ArithmeticException with the specified detail message.
ArrayStoreException(String s)
          Constructs an ArrayStoreException with the specified detail message.
NumberFormatException(String s)
          Constructs a NumberFormatException with the specified detail message.
SecurityException(String s)
          Constructs a SecurityException with the specified detail message.
IllegalArgumentException(String s)
          Constructs an IllegalArgumentException with the specified detail message.
RuntimeException(String s)
          Constructs a RuntimeException with the specified detail message.
StringBuffer(String str)
          Constructs a string buffer so that it represents the same sequence of characters as the string argument; in other words, the initial contents of the string buffer is a copy of the argument string.
Error(String s)
          Constructs an Error with the specified detail message.
IllegalAccessException(String s)
          Constructs an IllegalAccessException with a detail message.
InstantiationException(String s)
          Constructs an InstantiationException with the specified detail message.
ClassNotFoundException(String s)
          Constructs a ClassNotFoundException with the specified detail message.
Throwable(String message)
          Constructs a new Throwable with the specified error message.
Exception(String s)
          Constructs an Exception with the specified detail message.
InterruptedException(String s)
          Constructs an InterruptedException with the specified detail message.
String(String value)
          Initializes a newly created String object so that it represents the same sequence of characters as the argument; in other words, the newly created string is a copy of the argument string.
String(byte[] bytes, int off, int len, String enc)
          Construct a new String by converting the specified subarray of bytes using the specified character encoding.
String(byte[] bytes, String enc)
          Construct a new String by converting the specified array of bytes using the specified character encoding.
UnsupportedOperationException(String message)
          Constructs an UnsupportedOperationException with the specified detail message.
IllegalStateException(String s)
          Constructs an IllegalStateException with the specified detail message.
 

Uses of String in java.rmi
 

Methods in java.rmi that return String
 String RemoteException.getMessage()
          Returns the detail message, including the message from the nested exception if there is one.
 

Constructors in java.rmi with parameters of type String
RemoteException(String s)
          Constructs a RemoteException with the specified detail message.
RemoteException(String s, Throwable ex)
          Constructs a RemoteException with the specified detail message and nested exception.
 

Uses of String in java.security
 

Methods in java.security that return String
 String Key.getAlgorithm()
          Returns the standard algorithm name for this key.
 String Key.getFormat()
          Returns the name of the primary encoding format of this key, or null if this key does not support encoding.
 

Methods in java.security with parameters of type String
static KeyFactory KeyFactory.getInstance(String algorithm)
          Generates a KeyFactory object that implements the specified algorithm.
static MessageDigest MessageDigest.getInstance(String algorithm)
          Generates a MessageDigest object that implements the specified digest algorithm.
static Signature Signature.getInstance(String algorithm)
          Generates a Signature object that implements the specified digest algorithm.
 

Constructors in java.security with parameters of type String
DigestException(String msg)
          Constructs a DigestException with the specified detail message.
SignatureException(String msg)
          Constructs a SignatureException with the specified detail message.
NoSuchAlgorithmException(String msg)
          Constructs a NoSuchAlgorithmException with the specified detail message.
InvalidAlgorithmParameterException(String msg)
          Constructs an InvalidAlgorithmParameterException with the specified detail message.
GeneralSecurityException(String msg)
          Constructs a GeneralSecurityException with the specified detail message.
KeyException(String msg)
          Constructs a KeyException with the specified detail message.
InvalidKeyException(String msg)
          Constructs an InvalidKeyException with the specified detail message.
 

Uses of String in java.security.spec
 

Methods in java.security.spec that return String
abstract  String EncodedKeySpec.getFormat()
          Returns the name of the encoding format associated with this key specification.
 String X509EncodedKeySpec.getFormat()
          Returns the name of the encoding format associated with this key specification.
 

Constructors in java.security.spec with parameters of type String
InvalidKeySpecException(String msg)
          Constructs an InvalidKeySpecException with the specified detail message.
 

Uses of String in javax.crypto
 

Methods in javax.crypto with parameters of type String
static Cipher Cipher.getInstance(String transformation)
          Generates a Cipher object that implements the specified transformation.
 

Constructors in javax.crypto with parameters of type String
NoSuchPaddingException(String msg)
          Constructs a NoSuchPaddingException with the specified detail message.
BadPaddingException(String msg)
          Constructs a BadPaddingException with the specified detail message.
ShortBufferException(String msg)
          Constructs a ShortBufferException with the specified detail message.
IllegalBlockSizeException(String msg)
          Constructs an IllegalBlockSizeException with the specified detail message.
 

Uses of String in javax.crypto.spec
 

Methods in javax.crypto.spec that return String
 String SecretKeySpec.getAlgorithm()
          Returns the name of the algorithm associated with this secret key.
 String SecretKeySpec.getFormat()
          Returns the name of the encoding format for this secret key.
 

Constructors in javax.crypto.spec with parameters of type String
SecretKeySpec(byte[] key, int offset, int len, String algorithm)
          Constructs a secret key from the given byte array, using the first len bytes of key, starting at offset inclusive.
 

Uses of String in javax.microedition.io
 

Methods in javax.microedition.io that return String
 String Datagram.getAddress()
          Get the address in the datagram.
 String ContentConnection.getType()
          Returns the type of content that the resource connected to is providing.
 String ContentConnection.getEncoding()
          Returns a string describing the encoding of the content which the resource connected to is providing.
 

Methods in javax.microedition.io with parameters of type String
static Connection Connector.open(String name)
          Create and open a Connection.
static Connection Connector.open(String name, int mode)
          Create and open a Connection.
static Connection Connector.open(String name, int mode, boolean timeouts)
          Create and open a Connection.
static java.io.DataInputStream Connector.openDataInputStream(String name)
          Create and open a connection input stream.
static java.io.DataOutputStream Connector.openDataOutputStream(String name)
          Create and open a connection output stream.
static java.io.InputStream Connector.openInputStream(String name)
          Create and open a connection input stream.
static java.io.OutputStream Connector.openOutputStream(String name)
          Create and open a connection output stream.
 void Datagram.setAddress(String addr)
          Set datagram address.
 Datagram DatagramConnection.newDatagram(int size, String addr)
          Make a new datagram object.
 Datagram DatagramConnection.newDatagram(byte[] buf, int size, String addr)
          Make a new datagram object.
 

Constructors in javax.microedition.io with parameters of type String
ConnectionNotFoundException(String s)
          Constructs a ConnectionNotFoundException with the specified detail message.
 

Uses of String in javax.microedition.jcrmi
 

Methods in javax.microedition.jcrmi with parameters of type String
 Object RemoteRef.invoke(String method, Object[] params)
          Invokes a remote method.
 

Uses of String in javax.microedition.pki
 

Fields in javax.microedition.pki declared as String
static String UserCredentialManager.ALGORITHM_RSA
          Algorithm identifier for an RSA signature key.
static String UserCredentialManager.ALGORITHM_DSA
          Algorithm identifier for a DSA signature key.
 

Methods in javax.microedition.pki with parameters of type String
static byte[] UserCredentialManager.generateCSR(String nameInfo, String algorithm, int keyLen, int keyUsage, String securityElementID, String securityElementPrompt, boolean forceKeyGen)
          Creates a DER encoded PKCS#10 certificate enrollment request.
static byte[] UserCredentialManager.generateCSR(String nameInfo, String algorithm, int keyLen, int keyUsage, String securityElementID, String securityElementPrompt, boolean forceKeyGen)
          Creates a DER encoded PKCS#10 certificate enrollment request.
static byte[] UserCredentialManager.generateCSR(String nameInfo, String algorithm, int keyLen, int keyUsage, String securityElementID, String securityElementPrompt, boolean forceKeyGen)
          Creates a DER encoded PKCS#10 certificate enrollment request.
static byte[] UserCredentialManager.generateCSR(String nameInfo, String algorithm, int keyLen, int keyUsage, String securityElementID, String securityElementPrompt, boolean forceKeyGen)
          Creates a DER encoded PKCS#10 certificate enrollment request.
static boolean UserCredentialManager.addCredential(String certDisplayName, byte[] pkiPath, String uri)
          Adds a user certificate or certificate URI to a certificate store.
static boolean UserCredentialManager.addCredential(String certDisplayName, byte[] pkiPath, String uri)
          Adds a user certificate or certificate URI to a certificate store.
static boolean UserCredentialManager.removeCredential(String certDisplayName, byte[] issuerAndSerialNumber, String securityElementID, String securityElementPrompt)
          Removes a certificate or certificate URI from a certificate store.
static boolean UserCredentialManager.removeCredential(String certDisplayName, byte[] issuerAndSerialNumber, String securityElementID, String securityElementPrompt)
          Removes a certificate or certificate URI from a certificate store.
static boolean UserCredentialManager.removeCredential(String certDisplayName, byte[] issuerAndSerialNumber, String securityElementID, String securityElementPrompt)
          Removes a certificate or certificate URI from a certificate store.
 

Uses of String in javax.microedition.securityservice
 

Methods in javax.microedition.securityservice with parameters of type String
static byte[] CMSMessageSignatureService.sign(String stringToSign, int options, String[] caNames, String securityElementPrompt)
          Generates a CMS signed message.
static byte[] CMSMessageSignatureService.sign(String stringToSign, int options, String[] caNames, String securityElementPrompt)
          Generates a CMS signed message.
static byte[] CMSMessageSignatureService.sign(String stringToSign, int options, String[] caNames, String securityElementPrompt)
          Generates a CMS signed message.
static byte[] CMSMessageSignatureService.authenticate(byte[] byteArrayToAuthenticate, int options, String[] caNames, String securityElementPrompt)
          Generates a signature that may be used for authentication purposes.
static byte[] CMSMessageSignatureService.authenticate(byte[] byteArrayToAuthenticate, int options, String[] caNames, String securityElementPrompt)
          Generates a signature that may be used for authentication purposes.
static byte[] CMSMessageSignatureService.authenticate(String stringToAuthenticate, int options, String[] caNames, String securityElementPrompt)
          Generates a signature that may be used for authentication purposes.
static byte[] CMSMessageSignatureService.authenticate(String stringToAuthenticate, int options, String[] caNames, String securityElementPrompt)
          Generates a signature that may be used for authentication purposes.
static byte[] CMSMessageSignatureService.authenticate(String stringToAuthenticate, int options, String[] caNames, String securityElementPrompt)
          Generates a signature that may be used for authentication purposes.
 


SATSA - JSR177

Submit a comment or suggestion Version 1.0 of SATSA Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries. Copyright 1993-2004 Sun Microsystems, Inc. 901 San Antonio Road,Palo Alto, California, 94303, U.S.A. All Rights Reserved.