src/share/classes/java/security/spec/KeySpec.java

Print this page

        

*** 34,44 **** * device. * * <P> A key may be specified in an algorithm-specific way, or in an * algorithm-independent encoding format (such as ASN.1). * For example, a DSA private key may be specified by its components ! * <code>x</code>, <code>p</code>, <code>q</code>, and <code>g</code> * (see {@link DSAPrivateKeySpec}), or it may be * specified using its DER encoding * (see {@link PKCS8EncodedKeySpec}). * * <P> This interface contains no methods or constants. Its only purpose --- 34,44 ---- * device. * * <P> A key may be specified in an algorithm-specific way, or in an * algorithm-independent encoding format (such as ASN.1). * For example, a DSA private key may be specified by its components ! * {@code x}, {@code p}, {@code q}, and {@code g} * (see {@link DSAPrivateKeySpec}), or it may be * specified using its DER encoding * (see {@link PKCS8EncodedKeySpec}). * * <P> This interface contains no methods or constants. Its only purpose