/* * Copyright 2003 Federal Chancellery Austria * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package at.gv.egovernment.moa.spss.api.impl; import java.math.BigInteger; import at.gv.egovernment.moa.spss.api.common.X509IssuerSerial; /** * Default implementation of X509IssuerSerial. * * @author Fatemeh Philippi * @version $Id$ */ public class X509IssuerSerialImpl implements X509IssuerSerial { /** The certificate serial number. */ private BigInteger x509SerialNumber; /** The certificate issuer DN. */ private String x509IssuerName; /** * Sets the issuer distinguished name. * * @param x509IssuerName The issuer distinguished name. */ public void setX509IssuerName(String x509IssuerName) { this.x509IssuerName = x509IssuerName; } public String getX509IssuerName() { return x509IssuerName; } /** * Sets the certificate serial number. * * @param x509SerialNumber The issuer serial number. */ public void setX509SerialNumber(BigInteger x509SerialNumber) { this.x509SerialNumber = x509SerialNumber; } public BigInteger getX509SerialNumber() { return x509SerialNumber; } }