/libcore/luni/src/main/java/java/net/ |
H A D | URLDecoder.java | 50 * x-www-form-urlencoded} MIME content type using the specified encoding 60 * @param encoding 61 * the encoding scheme to be used. 64 * if the specified encoding scheme is invalid. 66 public static String decode(String s, String encoding) throws UnsupportedEncodingException { argument 67 return UriCodec.decode(s, true, Charset.forName(encoding), true);
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
H A D | ORAddress.java | 30 * The class encapsulates the ASN.1 DER encoding/decoding work 51 private byte[] encoding; field in class:ORAddress 57 if (encoding == null) { 58 encoding = ASN1.encode(this); 60 return encoding;
|
H A D | AccessDescription.java | 27 * The class encapsulates the ASN.1 DER encoding/decoding work 46 private byte[] encoding; field in class:AccessDescription 48 private AccessDescription(String accessMethod, GeneralName accessLocation, byte[] encoding) { argument 51 this.encoding = encoding; 58 if (encoding == null) { 59 encoding = ASN1.encode(this); 61 return encoding;
|
H A D | AlternativeName.java | 46 public AlternativeName(boolean which, byte[] encoding) throws IOException { argument 47 super(encoding); 49 this.alternativeNames = (GeneralNames) GeneralNames.ASN1.decode(encoding); 56 if (encoding == null) { 57 encoding = GeneralNames.ASN1.encode(alternativeNames); 59 return encoding;
|
H A D | BasicConstraints.java | 52 public BasicConstraints(byte[] encoding) throws IOException { argument 53 super(encoding); 54 Object[] values = (Object[]) ASN1.decode(encoding); 69 if (encoding == null) { 70 encoding = ASN1.encode(new Object[]{ca, BigInteger.valueOf(pathLenConstraint) }); 72 return encoding;
|
H A D | CRLDistributionPoints.java | 33 * The class encapsulates the ASN.1 DER encoding/decoding work 69 private byte[] encoding; field in class:CRLDistributionPoints 71 private CRLDistributionPoints(List<DistributionPoint> distributionPoints, byte[] encoding) { argument 76 this.encoding = encoding; 80 if (encoding == null) { 81 encoding = ASN1.encode(this); 83 return encoding; 86 public static CRLDistributionPoints decode(byte[] encoding) throws IOException { argument 87 return (CRLDistributionPoints) ASN1.decode(encoding); [all...] |
H A D | CRLNumber.java | 43 public CRLNumber(byte[] encoding) throws IOException { argument 44 super(encoding); 45 number = new BigInteger((byte[]) ASN1.decode(encoding)); 59 if (encoding == null) { 60 encoding = ASN1.encode(number.toByteArray()); 62 return encoding;
|
H A D | Certificate.java | 33 * The class encapsulates the ASN.1 DER encoding/decoding work 56 private byte[] encoding; field in class:Certificate 70 byte[] signatureValue, byte[] encoding) { 72 this.encoding = encoding; 106 if (encoding == null) { 107 encoding = Certificate.ASN1.encode(this); 109 return encoding; 68 Certificate(TBSCertificate tbsCertificate, AlgorithmIdentifier signatureAlgorithm, byte[] signatureValue, byte[] encoding) argument
|
H A D | CertificateIssuer.java | 47 public CertificateIssuer(byte[] encoding) { argument 48 super(encoding); 64 // incorrect extension value encoding
|
H A D | CertificateList.java | 33 * The class encapsulates the ASN.1 DER encoding/decoding work 56 private byte[] encoding; field in class:CertificateList 70 byte[] signatureValue, byte[] encoding) { 72 this.encoding = encoding; 103 if (encoding == null) { 104 encoding = CertificateList.ASN1.encode(this); 106 return encoding; 68 CertificateList(TBSCertList tbsCertList, AlgorithmIdentifier signatureAlgorithm, byte[] signatureValue, byte[] encoding) argument
|
H A D | EDIPartyName.java | 32 * The class encapsulates the ASN.1 DER encoding/decoding work 60 private byte[] encoding; field in class:EDIPartyName 62 private EDIPartyName(String nameAssigner, String partyName, byte[] encoding) { argument 65 this.encoding = encoding; 72 if (encoding == null) { 73 encoding = ASN1.encode(this); 75 return encoding;
|
H A D | ExtendedKeyUsage.java | 51 public ExtendedKeyUsage(byte[] encoding) { argument 52 super(encoding); 67 if (encoding == null) { 68 encoding = ASN1.encode(keys); 70 return encoding; 79 // incorrect extension value encoding
|
H A D | ExtensionValue.java | 28 protected byte[] encoding; field in class:ExtensionValue 34 public ExtensionValue(byte[] encoding) { argument 35 this.encoding = encoding; 40 return encoding; 45 if (encoding == null) { 46 encoding = getEncoded(); 48 if (encoding == null) { 51 sb.append(Array.toString(encoding, prefix));
|
H A D | GeneralSubtree.java | 32 * The class encapsulates the ASN.1 DER encoding/decoding work 61 private byte[] encoding; field in class:GeneralSubtree 80 if (encoding == null) { 81 encoding = ASN1.encode(this); 83 return encoding;
|
H A D | GeneralSubtrees.java | 33 * The class encapsulates the ASN.1 DER encoding/decoding work 51 private byte[] encoding; field in class:GeneralSubtrees 69 if (encoding == null) { 70 encoding = ASN1.encode(this); 72 return encoding;
|
H A D | InfoAccessSyntax.java | 28 * The class encapsulates the ASN.1 DER encoding/decoding work 50 private InfoAccessSyntax(List<?> accessDescriptions, byte[] encoding) throws IOException { argument 55 this.encoding = encoding; 62 if (encoding == null) { 63 encoding = ASN1.encode(this); 65 return encoding; 68 public static InfoAccessSyntax decode(byte[] encoding) throws IOException { argument 69 return ((InfoAccessSyntax) ASN1.decode(encoding));
|
H A D | InhibitAnyPolicy.java | 44 public InhibitAnyPolicy(byte[] encoding) throws IOException { argument 45 super(encoding); 47 ASN1Integer.getInstance().decode(encoding)).intValue(); 54 if (encoding == null) { 55 encoding = ASN1Integer.getInstance() 58 return encoding;
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
H A D | MyFailingCertPath.java | 7 public MyFailingCertPath(byte[] encoding) { argument 8 super(encoding);
|
/libcore/luni/src/main/java/java/security/cert/ |
H A D | CertificateFactorySpi.java | 94 * default encoding scheme is applied. 109 * InputStream} in the specified encoding. 113 * encoding. 114 * @param encoding 115 * the encoding of the data in the input stream. 122 public CertPath engineGenerateCertPath(InputStream inStream, String encoding) argument 129 * encoding is the default encoding. 147 * (as Strings). The first element is the default encoding.
|
/libcore/luni/src/main/java/org/apache/harmony/security/ |
H A D | PrivateKeyImpl.java | 35 private byte[] encoding; field in class:PrivateKeyImpl 51 byte[] toReturn = new byte[encoding.length]; 52 System.arraycopy(encoding, 0, toReturn, 0, encoding.length); 61 public void setEncoding(byte[] encoding) { argument 62 this.encoding = new byte[encoding.length]; 63 System.arraycopy(encoding, 0, this.encoding, 0, encoding [all...] |
H A D | PublicKeyImpl.java | 35 private byte[] encoding; field in class:PublicKeyImpl 56 byte[] result = new byte[encoding.length]; 57 System.arraycopy(encoding, 0, result, 0, encoding.length); 67 public void setEncoding(byte[] encoding) { argument 68 this.encoding = new byte[encoding.length]; 69 System.arraycopy(encoding, 0, this.encoding, 0, encoding [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs10/ |
H A D | CertificationRequest.java | 28 * The class implements the ASN.1 DER encoding and decoding of the PKCS#10 53 private byte[] encoding; field in class:CertificationRequest 63 AlgorithmIdentifier algId, byte[] signature, byte[] encoding) { 65 this.encoding = encoding; 83 if (encoding == null) { 84 encoding = CertificationRequest.ASN1.encode(this); 86 return encoding; 62 CertificationRequest(CertificationRequestInfo info, AlgorithmIdentifier algId, byte[] signature, byte[] encoding) argument
|
H A D | CertificationRequestInfo.java | 56 private byte[] encoding; field in class:CertificationRequestInfo 59 SubjectPublicKeyInfo subjectPublicKeyInfo, List<?> attributes, byte [] encoding) { 64 this.encoding = encoding; 80 if (encoding == null) { 81 encoding = ASN1.encode(this); 83 return encoding; 58 CertificationRequestInfo(int version, Name subject, SubjectPublicKeyInfo subjectPublicKeyInfo, List<?> attributes, byte [] encoding) argument
|
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs7/ |
H A D | AuthenticatedAttributes.java | 35 private byte[] encoding; field in class:AuthenticatedAttributes 38 private AuthenticatedAttributes(byte[] encoding, argument 40 this.encoding = encoding; 52 if (encoding == null) { 53 encoding = ASN1.encode(this); 55 return encoding;
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
H A D | ThreeIntegerSequence.java | 35 private byte[] encoding; field in class:ThreeIntegerSequence 42 encoding = null; 46 if (encoding == null) { 47 encoding = ASN1.encode(this); 49 return encoding;
|